REDNODE / GAME API

RoadBlockTrap

classscriptedClass

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

Properties 1

NameTypeFlags
areaComponentref<TriggerComponent>scriptedprotected

Methods 9

private const func GetController() -> ref<RoadBlockTrapController>scripted
public const func GetDevicePS() -> ref<RoadBlockTrapControllerPS>scripted
private final func IsPlayerInside() -> Boolscripted
protected cb func OnActivateDevice(evt: ref<ActivateDevice>) -> Boolscripted
protected cb func OnAreaEnter(evt: ref<AreaEnteredEvent>) -> Boolscripted
protected cb func OnAreaExit(evt: ref<AreaExitedEvent>) -> Boolscripted
protected cb func OnRequestComponents(ri: EntityRequestComponentsInterface) -> Boolscripted
protected cb func OnTakeControl(ri: EntityResolveComponentsInterface) -> Boolscripted
private final func TrapPlayer(player: wref<PlayerPuppet>)scripted