GetDetectionLevel

From the Oblivion ConstructionSet Wiki
Revision as of 04:50, 28 June 2006 by imported>Khadir (Documenting actor functions ...)
Jump to navigation Jump to search

Template:ActorFunction Syntax:

[ActorID.]GetDetectionLevel TargetActor 

Example:

ScaryGuard.GetDetectionLevel player 

Used to check the current detection level for the calling actor for the TargetActor. Returns 0-3 for the levels of detection:

0 = Lost
1 = Unseen
2 = Noticed
3 = Seen

See Also