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>Vswe
m (Added Search Terms)
 
(2 intermediate revisions by 2 users not shown)
Line 16: Line 16:


[[Category: Functions]]
[[Category: Functions]]
[[Category:Functions (CS)]]
[[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)]]
 
<!-- Begin Search Terms
Get
Trespass
Warning
Level
End Search Terms -->

Latest revision as of 09:35, 20 June 2008

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