API ReferenceGE ExtensionsflowgraphnodesgameplaydragRace
Reset Drag Race
**File:** `flowgraph/nodes/gameplay/dragRace/resetDragRace.lua`
File: flowgraph/nodes/gameplay/dragRace/resetDragRace.lua
Description: Reset the drag race with optional clearing of racers. Use for retries with new opponents.
Category: once_instant Tags: gameplay, utils
Input Pins
| Name | Type | Description |
|---|---|---|
clearRacers | bool | Also clear all racers from the system |
Output Pins
| Name | Type | Description |
|---|---|---|
flow | flow | Flow output after reset |
success | bool | True if reset was successful |
Methods
C:workOnce()
See Also
- Drag Race State - Related reference
- Get Drag Race Times - Related reference
- Generate Drag Race Opponents - Related reference
- FlowGraph Guide - Guide