Difference between revisions of "Manual:DIL Manual/logcrime()"
Jump to navigation
Jump to search
(XML import) |
(XML import) |
||
| Line 1: | Line 1: | ||
| + | <span id="bplogcrime"></span> | ||
| + | logcrime( c : unitptr, v : unitptr, t : integer ) | ||
| + | c : The criminal (main suspect) | ||
| + | v : The victim | ||
| + | t : The crime type (CRIME_XXX) | ||
| + | Registers a crime committed against 'v' by 'c'. Use the | ||
| + | CRIME_XXX values from values.h and/or vme.h as the 't' argument. | ||
| + | The logcrime routine automatically registers group members | ||
| + | of the criminal, etc. In stuff like steal, remember to make | ||
| + | the criminal visible if he fails his attempts. | ||
| + | ---~---~---~---~---~---~---~---~--- | ||
<span id="bplogcrime"></span> | <span id="bplogcrime"></span> | ||
logcrime( c : unitptr, v : unitptr, t : integer ) | logcrime( c : unitptr, v : unitptr, t : integer ) | ||
Latest revision as of 22:31, 4 December 2025
logcrime( c : unitptr, v : unitptr, t : integer ) c : The criminal (main suspect) v : The victim t : The crime type (CRIME_XXX)
Registers a crime committed against 'v' by 'c'. Use the
CRIME_XXX values from values.h and/or vme.h as the 't' argument.
The logcrime routine automatically registers group members
of the criminal, etc. In stuff like steal, remember to make
the criminal visible if he fails his attempts.
---~---~---~---~---~---~---~---~---
logcrime( c : unitptr, v : unitptr, t : integer ) c : The criminal (main suspect) v : The victim t : The crime type (CRIME_XXX)
Registers a crime committed against 'v' by 'c'. Use the
CRIME_XXX values from values.h and/or vme.h as the 't' argument.
The logcrime routine automatically registers group members
of the criminal, etc. In stuff like steal, remember to make
the criminal visible if he fails his attempts.
---~---~---~---~---~---~---~---~---