ForceActorDetectionValue
Jump to navigation
Jump to search
< [[::Category:Functions|Category:Functions]]
A function added by the JIP NVSE Plugin.
Description
Forces and locks the calculated detection value (a value that indicates how visible an actor is to another actor) of the calling actor to any other actor, regardless of skill, cover, lighting, perception, etc. A very low, negative value (such as -100) will render the calling actor completely undetectable by other actors, whilst a high positive value will render it fully detectable by any actor.
Calling the function and ommiting the argument, or passing 0, will restore detection mechanics on the calling actor to normal.
Syntax
reference.ForceActorDetectionValue detectionValue:int
Example
actorRef.ForceActorDetectionValue -100
Renders actorRef completely undetectable by other actors.