ForceActorDetectionValue
Revision as of 17:20, 15 February 2017 by imported>Jazzisparis (Created page with "{{Function |origin = JIP |summary = Forces and locks the calculated '''detection value''' (a value that indicates how '''visible''' an actor is to another actor) of the call...")
< [[::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.