Difference between revisions of "GetDetectionLevel"
Jump to navigation
Jump to search
imported>Vswe m (Added Search Terms) |
|||
(7 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
'''Syntax:''' | '''Syntax:''' | ||
GetDetectionLevel TargetActor | [''ActorID''.]GetDetectionLevel ''TargetActor'' | ||
'''Example:''' | '''Example:''' | ||
ScaryGuard.GetDetectionLevel player | ScaryGuard.GetDetectionLevel player | ||
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 = | :1 = Unseen | ||
:2 = Noticed | :2 = Noticed | ||
:3 = Seen | :3 = Seen | ||
==See Also== | |||
[[GetDetected]] | |||
[[IsActorDetected]] | |||
[[:Category:Detection]] | |||
[[Category: Functions]] | [[Category: Functions]] | ||
[[Category:Functions (CS)]] | |||
[[Category: Functions (CS 1.0)]] | |||
[[Category:Actor Functions]] | |||
[[Category:Actor Functions (CS 1.0)]] | |||
[[Category: Condition Functions]] | |||
[[Category: Condition Functions (CS 1.0)]] | |||
[[Category: Crime Functions]] | [[Category: Crime Functions]] | ||
[[Category: | [[Category: Crime Functions (CS 1.0)]] | ||
<!-- Begin Search Terms | |||
Get | |||
Detection | |||
Level | |||
End Search Terms --> |
Latest revision as of 08:41, 20 June 2008
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
See Also[edit | edit source]