Difference between revisions of "GetDetectionLevel"
Jump to navigation
Jump to search
imported>Khadir (Documenting actor functions ...) |
imported>JOG |
||
Line 1: | Line 1: | ||
'''Syntax:''' | '''Syntax:''' | ||
[''ActorID''.]GetDetectionLevel ''TargetActor'' | [''ActorID''.]GetDetectionLevel ''TargetActor'' | ||
Line 18: | Line 17: | ||
[[Category: Crime Functions]] | [[Category: Crime Functions]] | ||
[[Category: Condition Functions]] | [[Category: Condition Functions]] | ||
[[Category:Actor Functions]] |
Revision as of 10:20, 28 June 2006
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