API ReferenceGE Extensionsflowgraphnodesgameplaytrafficsignals
Get Signal Instance
**File:** `flowgraph/nodes/gameplay/traffic/signals/instance.lua`
File: flowgraph/nodes/gameplay/traffic/signals/instance.lua
Description: Gets properties of a signal instance.
Category: repeat_instant Tags: traffic, signals
Input Pins
| Name | Type | Description |
|---|---|---|
instanceData | table | Signal instance data. |
Output Pins
| Name | Type | Description |
|---|---|---|
pos | vec3 | Signal stop position. |
dirVec | vec3 | Signal direction. |
targetPos | vec3 | Signal target position (e.g. intersection). |
stateName | string | Signal state name. |
stateAction | string | Signal state action. |
active | bool | True while the signal is active. |
sequenceData | table | Signal sequence data, to use with other signal nodes. |
controllerData | table | Signal controller data, to use with other signal nodes. |
Methods
C:work(args)
See Also
- Get Signal Controller - Related reference
- Controller by Name - Related reference
- File Traffic Signals - Related reference
- FlowGraph Guide - Guide