GetPCDetectionState

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::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

[help]
(detectionState:int) GetPCDetectionState

Example

set iDetectionState to GetPCDetectionState

See Also