GetDetectionValue
Jump to navigation
Jump to search
< [[::Category:Functions|Category:Functions]]
A function added by the JIP NVSE Plugin.
Description
Returns a value indicating how visible the target actor is to the calling actor. A value lower than zero indicates the calling actor does not detect the target actor, whilst a value higher than zero indicates the target actor is detected by the calling actor. The higher the absolute value, the more the target actor is visible to/concealed from the calling actor.
Syntax
(detectionValue:int) reference.GetDetectionValue targetActor:ref
Example
set iDetectionValue to actorRef.GetDetectionValue player
Returns how visible the player character is to actorRef.