Difference between revisions of "GetDetectionLevel"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>JOG
(See also)
imported>Haama
(Category links)
Line 18: Line 18:


[[Category: Functions]]
[[Category: Functions]]
[[Category: Functions (CS 1.0)]]
[[Category:Actor Functions]]
[[Category:Actor 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)]]
[[Category:Actor Functions]]

Revision as of 22:15, 6 July 2007

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

GetDetected

IsActorDetected

Category:Detection