Difference between revisions of "IgnoreCrime"

From GECK

m
m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
Line 24: Line 24:
  
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Functions (GECK 1.0)]]
 
[[Category:Crime Functions]]
 
[[Category:Crime Functions]]
 +
[[Category:Crime Functions (GECK 1.0)]]
 
[[Category:Godsend Functions]]
 
[[Category:Godsend Functions]]
 +
[[Category:Godsend Functions (GECK 1.0)]]

Revision as of 12:01, 12 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