GetTrespassWarningLevel

From the Oblivion ConstructionSet Wiki
Revision as of 19:04, 25 March 2007 by imported>KronicDeth (Added Syntax and that -1 is returned on no warning)
Jump to navigation Jump to search

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