GetDetectionLevel
Revision as of 01:30, 8 February 2010 by imported>JT
< [[::Category:Functions|Category:Functions]]
Link to TES4 Construction Set Wiki: GetDetectionLevel.
A function included in the GECK version 1.1.0.36.
Description
Used to check the current detection level for the calling actor for the TargetActor.
Syntax
(0, 1, 2, 3:int) [Actor].GetDetectionLevel target:actorRef
Example
Molerat01Ref.GetDetectionLevel player
Returns a value based upon how well the molerat detects the player.
Notes
- Returns 0-3 for the levels of detection:
- 0 = Lost ("Undetected")
- 1 = Unseen ("Caution")
- 2 = Noticed ("Danger")
- 3 = Seen (flashing "Danger")