API ReferenceGE Extensionsflowgraphnodesgameplayrally
Track Vehicle Distance to Position
**File:** `flowgraph/nodes/gameplay/rally/trackVehicleDistanceToPos.lua`
File: flowgraph/nodes/gameplay/rally/trackVehicleDistanceToPos.lua
Description: Tracks the distance from a vehicle to a position and streams it to the UI.
Category: repeat Tags: rally
Input Pins
| Name | Type | Description |
|---|---|---|
flow | flow | Inflow for this node. |
vehId | number | Id of the vehicle to check. |
pos | vec3 | Position to check. |
Output Pins
| Name | Type | Description |
|---|---|---|
flow | flow | Outflow for this node. |
Methods
C:init(mgr, ...)C:_executionStarted()C:updateVehicleData()C:updateVehicleData2()C:getDistanceSquared()C:work(args)
See Also
- Rally Mode Countdown - Related reference
- Rally Loop Synced Countdown - Related reference
- Rally Mode Create Ground Marker Route - Related reference
- FlowGraph Guide - Guide