REDNODE / GAME API

RetractableAd

classscriptedClass

extends BaseAnimatedDevice › InteractiveDevice › Device › DeviceBase › GameObject › GameEntity › Entity › IScriptable › ISerializable

Properties 4

NameTypeFlags
advUiComponentref<IComponent>scriptedprotected
areaComponentref<TriggerComponent>scriptedprotected
isPartOfTheTrapBoolscriptedprotected
offMeshConnectionref<OffMeshConnectionComponent>scriptedprotected

Methods 17

protected func ActivateAnimation()scripted
private final func ApplyImpulse(activators: script_ref<array<ref<Entity>>>)scripted
protected final func DisableTrap()scripted
private const func GetController() -> ref<RetractableAdController>scripted
public const func GetDevicePS() -> ref<RetractableAdControllerPS>scripted
public final const func GetEntitiesInArea() -> array<ref<Entity>>scripted
protected func GetTimeScale() -> Floatscripted
protected cb func OnActivateDevice(evt: ref<ActivateDevice>) -> Boolscripted
protected cb func OnAreaEnter(evt: ref<AreaEnteredEvent>) -> Boolscripted
protected cb func OnPhysicalDestructionEvent(evt: ref<PhysicalDestructionEvent>) -> Boolscripted
protected func OnPlayAnimation()scripted
protected cb func OnRequestComponents(ri: EntityRequestComponentsInterface) -> Boolscripted
protected cb func OnTakeControl(ri: EntityResolveComponentsInterface) -> Boolscripted
protected func StartGlitching(glitchState: EGlitchState, opt intensity: Float)scripted
protected func StopGlitching()scripted
protected final func ToggleLights(toggle: Bool)scripted
protected final func ToggleOffMeshConnection(toggle: Bool)scripted