API ReferenceGE Extensionsflowgraphnodesgameplaytrafficsignals
Get Signal Controller
**File:** `flowgraph/nodes/gameplay/traffic/signals/controller.lua`
File: flowgraph/nodes/gameplay/traffic/signals/controller.lua
Description: Gets properties of a signal controller.
Category: repeat_instant Tags: traffic, signals
Input Pins
| Name | Type | Description |
|---|---|---|
controllerData | table | Signal controller data. |
Output Pins
| Name | Type | Description |
|---|---|---|
signalType | string | Controller type. |
stateCount | number | Number of states. |
duration | number | Total duration of all states. |
Methods
C:init()C:postInit()C:drawCustomProperties()C:updatePins(old, new)C:_onSerialize(res)C:_onDeserialized(res)C:work(args)
See Also
- Controller by Name - Related reference
- File Traffic Signals - Related reference
- Get Signal Instance - Related reference
- FlowGraph Guide - Guide