Difference between revisions of "GetTrespassWarningLevel"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>KronicDeth
(Added Syntax and that -1 is returned on no warning)
imported>Haama
(Category links)
Line 16: Line 16:


[[Category: Functions]]
[[Category: Functions]]
[[Category: Functions (CS 1.0)]]
[[Category: Condition Functions]]
[[Category: Condition Functions (CS 1.0)]]
[[Category: Crime Functions]]
[[Category: Crime Functions]]
[[Category: Condition Functions]]
[[Category: Crime Functions (CS 1.0)]]

Revision as of 00:34, 7 July 2007

Returns the current trespass warning level. Usually used in conjunction with IsTrespassing.

Syntax:

[ActorID.]GetTrespassWarningLevel 

Trespass warning levels:

-1: No warning

0: First warning

1: Second warning

2: Trespass crime reported, guards coming