Difference between revisions of "GetTrespassWarningLevel"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Maturin
 
imported>KronicDeth
(Added Syntax and that -1 is returned on no warning)
Line 1: Line 1:
Returns the current trespass warning level. Usually used in conjunction with [[IsTrespassing]].
Returns the current trespass warning level. Usually used in conjunction with [[IsTrespassing]].


'''Syntax:'''
[''ActorID''.]GetTrespassWarningLevel


Trespass warning levels:
Trespass warning levels:
-1: No warning


0: First warning
0: First warning

Revision as of 19:04, 25 March 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