REDNODE / GAME API

Activator

classscriptedClass

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

Properties 9

NameTypeFlags
animFeatureref<AnimFeature_SimpleDevice>scriptedprivate
defaultDelayFloatscriptedpublic
hitCountInt32scriptedprivate
meshAppearenceCNamescriptedpublic
meshAppearenceBreakingCNamescriptedpublic
meshAppearenceBrokenCNamescriptedpublic
meshComponentref<MeshComponent>scriptedprivate
redDelayFloatscriptedpublic
yellowDelayFloatscriptedpublic

Methods 16

private final func DelayApperanceSwitchEvent(newApperance: CName, time: Float)scripted
public const func DeterminGameplayRole() -> EGameplayRolescripted
protected func EnterWorkspot(activator: ref<GameObject>, opt freeCamera: Bool, opt componentName: CName, opt deviceData: CName)scripted
private const func GetController() -> ref<ActivatorController>scripted
public const func GetCurrentGameplayRole() -> EGameplayRolescripted
public const func GetDevicePS() -> ref<ActivatorControllerPS>scripted
protected cb func OnDelayApperanceSwitchEvent(evt: ref<panelApperanceSwitchEvent>) -> Boolscripted
protected cb func OnDisassembleDevice(evt: ref<DisassembleDevice>) -> Boolscripted
protected cb func OnHit(evt: ref<gameHitEvent>) -> Boolscripted
protected cb func OnRequestComponents(ri: EntityRequestComponentsInterface) -> Boolscripted
protected cb func OnSpiderbotActivateActivator(evt: ref<SpiderbotActivateActivator>) -> Boolscripted
protected cb func OnSpiderbotOrderCompletedEvent(evt: ref<SpiderbotOrderCompletedEvent>) -> Boolscripted
protected cb func OnTakeControl(ri: EntityResolveComponentsInterface) -> Boolscripted
protected cb func OnToggleActivation(evt: ref<ToggleActivation>) -> Boolscripted
protected cb func OnWorkspotFinished(componentName: CName) -> Boolscripted
private final func UpdateAnimState()scripted