REDNODE / GAME API

ExplosiveTriggerDevice

classscriptedClass

extends ExplosiveDevice › BasicDistractionDevice › InteractiveDevice › Device › DeviceBase › GameObject › GameEntity › Entity › IScriptable › ISerializable

Properties 9

NameTypeFlags
meshTriggerref<MeshComponent>scriptedprivate
playerIsInSurroundingAreaBoolscriptedprivate
proximityExplosionEventIDDelayIDscriptedprivate
proximityExplosionEventSentBoolscriptedprivate
soundIsActiveBoolscriptedprivate
surroundingArearef<TriggerComponent>scriptedprivate
surroundingAreaNameCNamescriptedprivate
trapTriggerref<TriggerComponent>scriptedprivate
triggerNameCNamescriptedprivate

Methods 18

private final func ChangeLasersColor(laserState: ExplosiveTriggerDeviceLaserState)scripted
public const func DeterminGameplayRoleMappinVisuaState(data: script_ref<SDeviceMappinData>) -> EMappinVisualStatescripted
private const func GetController() -> ref<ExplosiveTriggerDeviceController>scripted
public const func GetDevicePS() -> ref<ExplosiveTriggerDeviceControllerPS>scripted
protected cb func OnAreaEnter(evt: ref<AreaEnteredEvent>) -> Boolscripted
protected cb func OnAreaExit(evt: ref<AreaExitedEvent>) -> Boolscripted
protected cb func OnExplosiveTriggerDeviceProximityEvent(evt: ref<ExplosiveTriggerDeviceProximityEvent>) -> Boolscripted
protected cb func OnQuestSetPlayerSafePass(evt: ref<QuestSetPlayerSafePass>) -> Boolscripted
protected cb func OnRequestComponents(ri: EntityRequestComponentsInterface) -> Boolscripted
protected cb func OnSetDeviceAttitude(evt: ref<SetDeviceAttitude>) -> Boolscripted
protected cb func OnTakeControl(ri: EntityResolveComponentsInterface) -> Boolscripted
private final func ReactOnSurroundingArea(whoEnteredID: EntityID)scripted
private final func ReactOnTrigger(whoEnteredID: EntityID)scripted
protected final func ToggleComponents(state: Bool)scripted
protected final func ToggleTriggerLogic(state: Bool)scripted
protected func ToggleVisibility(visible: Bool)scripted
protected func TurnOffDevice()scripted
protected func TurnOnDevice()scripted