REDNODE / GAME API

CrossingLight

classscriptedClass

extends TrafficLight › Device › DeviceBase › GameObject › GameEntity › Entity › IScriptable › ISerializable

Properties 1

NameTypeFlags
audioLightIsGreenBoolscriptedprotected

Methods 10

protected func CommenceChangeToGreen()scripted
protected func CommenceChangeToRed()scripted
protected func CompleteLightChangeSequence()scripted
private const func GetController() -> ref<CrossingLightController>scripted
public const func GetDevicePS() -> ref<CrossingLightControllerPS>scripted
protected cb func OnRequestComponents(ri: EntityRequestComponentsInterface) -> Boolscripted
protected cb func OnTakeControl(ri: EntityResolveComponentsInterface) -> Boolscripted
protected final func PlayTrafficNotificationSound(status: worldTrafficLightColor)scripted
private final func StartBlinking()scripted
private final func StopBlinking()scripted