Difference between revisions of "GetTrespassWarningLevel"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Scornett-Bot
m (Script running global find and replace: = for '''=)
 
imported>Chesko
(Fixed, the documentation on this page was wrong.)
 
Line 1: Line 1:
==Description==
==Description==


[[GetTrespassWarningLevel]] returns the number of warnings an actor on a [[Guard_(Procedure)|Guard Package]] (or responding to trespassing or responding to an aggro radius violation) has given the specified reference.
[[GetTrespassWarningLevel]] returns the number of warnings an actor on a [[Guard_(Procedure)|Guard Package]] (or responding to trespassing or responding to an aggro radius violation) has given.
 
==Syntax==
 
[''ActorRef''.]GetTrespassWarningLevel ''Actor_ID''


==Examples==
==Examples==
 
The following would return True until the Subject has issued more than 2 warnings.
ActorRef.GetTrespassWarningLevel Player
[[File:GetTrespassWarningLevel.JPG]]
 
Returns the number of times ActorRef has issued a warning to the player.


==Notes==
==Notes==
*None.
* This Condition Function takes no input parameters.
* The Trespass Warning Level of an actor increments on the actor issuing the warning, not the trespasser.


==See Also==
==See Also==

Latest revision as of 10:57, 8 February 2015

Description[edit | edit source]

GetTrespassWarningLevel returns the number of warnings an actor on a Guard Package (or responding to trespassing or responding to an aggro radius violation) has given.

Examples[edit | edit source]

The following would return True until the Subject has issued more than 2 warnings. GetTrespassWarningLevel.JPG

Notes[edit | edit source]

  • This Condition Function takes no input parameters.
  • The Trespass Warning Level of an actor increments on the actor issuing the warning, not the trespasser.

See Also[edit | edit source]

  • iGuardWarnings, for the maximum number of warnings a guard will issue.