API ReferenceGE Extensionsflowgraphnodesgameplayrace
Race CP/Lap Change
**File:** `flowgraph/nodes/gameplay/race/raceCpLapChange.lua`
File: flowgraph/nodes/gameplay/race/raceCpLapChange.lua
Description: Lets flow through when the current checkpoint or lap changes.
Category: repeat_instant
Input Pins
| Name | Type | Description |
|---|---|---|
flow | flow | Inflow for this node. |
raceData | table | Data from the race for other nodes to process. |
vehId | number | The Vehicle that should be tracked. |
Output Pins
| Name | Type | Description |
|---|---|---|
flow | flow | Outflow from this node. |
changed | flow | Outflow from this node when something changed. |
curCP | number | Current Checkpoint |
maxCP | number | Max number of Checkpoints |
curLap | number | Current Lap |
maxLap | number | Max number of Laps |
recoveryReached | bool | If the reached CP contained a recovery. |
usedRecovery | bool | If the player got here by recovering back. |
Methods
C:work()
See Also
- File Path - Related reference
- File Race - Related reference
- im Race Times - Related reference
- FlowGraph Guide - Guide