API ReferenceGE Extensionsflowgraphnodesgameplayrace
Race Data
**File:** `flowgraph/nodes/gameplay/race/raceData.lua`
File: flowgraph/nodes/gameplay/race/raceData.lua
Description: Exposes some data from a race for a vehicle.
Category: repeat_instant Tags: scenario
Input Pins
| Name | Type | Description |
|---|---|---|
raceData | table | Data from the race for other nodes to process. |
vehId | number | The vehicle that should be tracked. |
Output Pins
| Name | Type | Description |
|---|---|---|
formattedTime | string | Formatted time for this race. |
recoveriesUsed | number | Total times the vehicle has been recovered in this race |
placement | number | Estimated place in the race, if applicable. |
isOnRoad | bool | True while the vehicle is within the bounds of the race AI path. |
Methods
C:work(args)
See Also
- File Path - Related reference
- File Race - Related reference
- im Race Times - Related reference
- FlowGraph Guide - Guide