REDNODE / GAME API

ActivatedDeviceTrap

classscriptedClass

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

Extended by 3 types

ActivatedDeviceIndustrialArm ActivatedDeviceTrapDestruction BarbedWire

Properties 1

NameTypeFlags
areaComponentref<TriggerComponent>scriptedprotected

Methods 10

protected final func Distract()scripted
protected final func DoAttack(attackRecord: TweakDBID)scripted
public final func GetEntitiesInArea() -> array<ref<Entity>>scripted
protected cb func OnActivateDevice(evt: ref<ActivateDevice>) -> Boolscripted
protected cb func OnAreaEnter(evt: ref<AreaEnteredEvent>) -> Boolscripted
protected cb func OnRequestComponents(ri: EntityRequestComponentsInterface) -> Boolscripted
protected cb func OnTakeControl(ri: EntityResolveComponentsInterface) -> Boolscripted
protected cb func OnTimerEvent(evt: ref<TimerEvent>) -> Boolscripted
protected func RefreshAnimation()scripted
protected func ResolveGameplayState()scripted