API ReferenceGE Extensionsflowgraphnodesgameplaytraffic
Track Vehicle Parking
**File:** `flowgraph/nodes/gameplay/traffic/parkingTrackVehicle.lua`
File: flowgraph/nodes/gameplay/traffic/parkingTrackVehicle.lua
Description: Tracks the parking status of a target vehicle while the parking system is active.
Category: repeat_instant Tags: traffic, parking
Input Pins
| Name | Type | Description |
|---|---|---|
flow | flow | |
reset | flow | |
vehId | number | Vehicle id to track |
Output Pins
| Name | Type | Description |
|---|---|---|
flow | flow | |
enter | flow | Sends a pulse when the vehicle is parking. |
inside | flow | True while the vehicle is parking. |
exit | flow | Sends a pulse when the vehicle is not parking. |
outside | flow | True while the vehicle is not parking. |
spotExists | flow | Sends flow while a target parking spot exists. |
spot | table | Current target parking spot. |
Methods
C:init()C:_executionStopped()C:reset()C:work()
See Also
- Add Vehicle (Traffic) - Related reference
- Traffic Driving Stats - Related reference
- File Vehicle Group - Related reference
- FlowGraph Guide - Guide