Difference between revisions of "IgnoreCrime"

From GECK

m
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
 
(One intermediate revision by the same user not shown)
Line 24: Line 24:
  
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Functions (GECK 1.1)]]
 
[[Category:Crime Functions]]
 
[[Category:Crime Functions]]
 +
[[Category:Crime Functions (GECK 1.1)]]
 
[[Category:Godsend Functions]]
 
[[Category:Godsend Functions]]
 +
[[Category:Godsend Functions (GECK 1.1)]]

Latest revision as of 12:40, 15 August 2009

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