Cyber Engine Tweaks
Modding
Dictionary
Other
External docs
Other Wikis
Powered By GitBook
VisionModeSystem
Documents the VisionModeSystem class and its functions.
NOT DOCUMENTED We currently don't have information on how these functions work. They are being documented here for visibility.

Invoking VisionModeSystem

To invoke the vision mode system, use the following Global function:
1
vms = Game.GetVisionModeSystem()
Copied!

Sub-functions

CancelForceVisionAppearance

CancelForceVisionAppearance
Info & Usage
1
CancelForceVisionAppearance(entity : ref:GameObject, optional transitionTime : Float);
Copied!

EnterMode

EnterMode
Info & Usage
1
EnterMode(activator : ref:GameObject, mode : gameVisionModeType);
Copied!

ForceVisionAppearance

ForceVisionAppearance
Info & Usage
1
ForceVisionAppearance(entity : ref:GameObject, appearance : VisionAppearance, optional transitionTime : Float);
Copied!

GetDelayedRevealEntries

GetDelayedRevealEntries
Info & Usage
1
GetDelayedRevealEntries(revealEntityId : EntityID, out revealIds : array:gameVisionModeSystemRevealIdentifier);
Copied!

GetScanningController

GetScanningController
Info & Usage
1
GetScanningController() : ref:ScanningController;
Copied!

IsDelayedRevealInProgress

IsDelayedRevealInProgress
Info & Usage
1
IsDelayedRevealInProgress(revealEntityId : EntityID, revealId : gameVisionModeSystemRevealIdentifier) : Bool;
Copied!

RegisterActivatorCallback

RegisterActivatorCallback
Info & Usage
1
RegisterActivatorCallback(activator : ref:GameObject, listener : ref:GameObject) : Bool;
Copied!

RegisterDelayedReveal

RegisterDelayedReveal
Info & Usage
1
RegisterDelayedReveal(revealEntityId : EntityID, revealId : gameVisionModeSystemRevealIdentifier, delayTime : Float);
Copied!

RequestPulse

RequestPulse
Info & Usage
1
RequestPulse(entity : ref:GameObject, initialAppearance : VisionAppearance, peakAppearance : VisionAppearance, optional transitionInTime : Float, optional transitionOutTime : Float);
Copied!

SetChildEntityVisionMode

SetChildEntityVisionMode
Info & Usage
1
SetChildEntityVisionMode(parentId : EntityID, childNodeRef : NodeRef, enable : Bool);
Copied!

SetEntityVisionMode

SetEntityVisionMode
Info & Usage
1
SetEntityVisionMode(id : EntityID, val : Bool);
Copied!

UnregisterActivatorCallback

UnregisterActivatorCallback
Info & Usage
1
UnregisterActivatorCallback(activator : ref:GameObject, listener : ref:GameObject);
Copied!

UnregisterDelayedReveal

UnregisterDelayedReveal
Info & Usage
1
UnregisterDelayedReveal(revealEntityId : EntityID, revealId : gameVisionModeSystemRevealIdentifier);
Copied!
Last modified 8mo ago