GetPCDetectionState

Revision as of 07:29, 25 October 2015 by imported>Jazzisparis (Created page with "{{Function |origin = JIP |summary = Returns an integer representing the <i>Player</i> character's current '''detection state'''. Possible return values and their meaning: <...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::Category:Functions|Category:Functions]]

A function added by the JIP NVSE Plugin.

Description

Returns an integer representing the Player character's current detection state.

Possible return values and their meaning:

-1	N/A (The Player is not in sneak mode)
 0	HIDDEN
 1	CAUTION
 2	DETECTED
 3	DANGER

Syntax

(detectionState:int) GetPCDetectionState

Example

set iDetectionState to GetPCDetectionState

See Also