Difference between revisions of "IgnoreCrime"

From GECK

('''Notes''')
 
m
Line 25: Line 25:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Crime Functions]]
 
[[Category:Crime Functions]]
 +
[[Category:Godsend Functions]]

Revision as of 19:51, 12 December 2008

Description

IgnoreCrime Prevents an NPC from attacking or reporting a player for crime.

Syntax

[ActorREF.]IgnoreCrime Flag  (0/1)

Examples

RobertRef.IgnoreCrime 1            ; This makes it so that Robert won't attack the player or report crimes the player commits.

Notes

  • The values for the flag mean:
    • 0 = Report crimes the player commits (default).
    • 1 = Do not report crimes the player commits.
  • If the actor is not a friend or ally of the player, he will still react to being directly attacked (but will not report it as a crime).

See Also

GetIgnoreCrime

Reference

None provided.

Personal tools