ForceActorDetectionValue

From the Fallout3 GECK Wiki
Revision as of 18: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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

[help]
reference.ForceActorDetectionValue detectionValue:int

Example

actorRef.ForceActorDetectionValue -100

Renders actorRef completely undetectable by other actors.

See Also