REDNODE / GAME API

TrafficIntersectionManagerControllerPS

classscriptedClass

extends MasterControllerPS › ScriptableDeviceComponentPS › SharedGameplayPS › DeviceComponentPS › GameComponentPS › PersistentState › IScriptable › ISerializable

Properties 1

NameTypeFlags
trafficLightStatusworldTrafficLightColorscriptedprivatepersistent

Methods 9

private final func ActionInitiateTrafficLightChange() -> ref<InitiateTrafficLightChange>scripted
public final const func GetDesiredTrafficLightState() -> worldTrafficLightColorscripted
public func GetQuestActions(out outActions: array<ref<DeviceAction>>, context: script_ref<GetActionsContext>)scripted
public final func HandleLightChangeRequest()scripted
private final func InitiateChangeLightsSequenceForEntireIntersection()scripted
public final func OnInitiateTrafficLightChange(evt: ref<InitiateTrafficLightChange>) -> EntityNotificationTypescripted
public final func SetLightChangeRequest(newColor: worldTrafficLightColor)scripted
private final func SetLightsSequenceForEntireIntersection(newColor: worldTrafficLightColor)scripted
private final func ToggleLights()scripted