Difference between revisions of "GetDetectionLevel"
Jump to navigation
Jump to search
imported>JustTim (→See Also: GetDetected, IsActorDetected) |
imported>Khadir (Documenting actor functions ...) |
||
Line 1: | Line 1: | ||
{{ActorFunction}} | |||
'''Syntax:''' | '''Syntax:''' | ||
GetDetectionLevel TargetActor | [''ActorID''.]GetDetectionLevel ''TargetActor'' | ||
'''Example:''' | '''Example:''' | ||
ScaryGuard.GetDetectionLevel player | ScaryGuard.GetDetectionLevel player | ||
Line 11: | Line 12: | ||
==See Also== | ==See Also== | ||
[[GetDetected]] | * [[GetDetected]] | ||
* [[IsActorDetected]] | |||
[[IsActorDetected]] | |||
[[Category: Functions]] | [[Category: Functions]] | ||
[[Category: Crime Functions]] | [[Category: Crime Functions]] | ||
[[Category: Condition Functions]] | [[Category: Condition Functions]] |
Revision as of 04:50, 28 June 2006
Template:ActorFunction 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