RoadBlockTrap
classscriptedClass
extends InteractiveMasterDevice › InteractiveDevice › Device › DeviceBase › GameObject › GameEntity › Entity › IScriptable › ISerializable
Properties 1
| Name | Type | Flags |
|---|---|---|
areaComponent | ref<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