API ReferenceGE Extensionsflowgraphnodesgameplaytrafficsignals
Predict Signal State
**File:** `flowgraph/nodes/gameplay/traffic/signals/instanceState.lua`
File: flowgraph/nodes/gameplay/traffic/signals/instanceState.lua
Description: Predicts the future state of a signal from the given seconds.
Category: once_instant Tags: traffic, signals
Input Pins
| Name | Type | Description |
|---|---|---|
instanceData | table | Signal instance data. |
seconds | number | Future time, in seconds; only positive values are supported. |
Output Pins
| Name | Type | Description |
|---|---|---|
stateName | string | Predicted signal state name. |
stateAction | string | Predicted signal state action. |
Methods
C:workOnce()
See Also
- Get Signal Controller - Related reference
- Controller by Name - Related reference
- File Traffic Signals - Related reference
- FlowGraph Guide - Guide