Difference between revisions of "GetDetectionLevel"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
 
imported>Talinthonis
m
Line 6: Line 6:
Used to check the current detection level for the calling actor for the TargetActor. Returns 0-3 for the levels of detection:  
Used to check the current detection level for the calling actor for the TargetActor. Returns 0-3 for the levels of detection:  
:0 = Lost  
:0 = Lost  
:1 = Uneen
:1 = Unseen
:2 = Noticed  
:2 = Noticed  
:3 = Seen  
:3 = Seen  

Revision as of 10:37, 28 March 2006

Syntax:

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