[dismiss]
This wiki is a copy of the original Fallout3 GECK wiki created and maintained by the UESP.net. See GECK:Copy Notice for more info.
Difference between revisions of "GetDetectionLevel"
Jump to navigation
Jump to search
imported>JT |
imported>Pkleiss |
||
Line 17: | Line 17: | ||
==Notes== | ==Notes== | ||
In testing this function appears to be broken as it does not return any value other than 0 when the player is the target. It will only return a value of 3 or 0 for all other cases where the player is not involved. | |||
* Returns 0-3 for the levels of detection: | * Returns 0-3 for the levels of detection: |
Revision as of 13:54, 2 August 2010
< [[::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
In testing this function appears to be broken as it does not return any value other than 0 when the player is the target. It will only return a value of 3 or 0 for all other cases where the player is not involved.
- Returns 0-3 for the levels of detection:
- 0 = Lost ("Undetected")
- 1 = Unseen ("Caution")
- 2 = Noticed ("Danger")
- 3 = Seen (flashing "Danger")