API ReferenceGE Extensionsflowgraphnodestimetrials
Race Started (Flowgraph Node)
- **Node Name:** `Race Started`
Overview
- Node Name:
Race Started - Category:
logic - File:
extensions/flowgraph/nodes/timetrials/onRaceStart.lua
Tracks whether the race has started and provides mutually exclusive flow outputs.
Pin Schema
Input Pins
| Pin | Type | Description |
|---|---|---|
flow | flow | Inflow for this node |
Output Pins
| Pin | Type | Description |
|---|---|---|
started | flow | Active when the race has started |
stopped | flow | Active when the race has not yet started |
Behavior
init()- Initializesstartedflag to false._executionStarted()- Resetsstartedto false.work()- Outputsstartedandstoppedas mutually exclusive flows.onRaceStart()- Setsstartedto true.onScenarioRestarted()- Resets state.
How It Works
- Place this node in a race flowgraph.
- Before the race begins,
stoppedis active. - When
onRaceStartfires,startedbecomes active permanently. - On scenario restart, reverts to stopped state.
-- Common pattern:
-- [Race Started] → started → [Enable HUD / Start Timer]
-- → stopped → [Show Countdown]Key Dependencies
onRaceStart- Flowgraph event when the race countdown finishesonScenarioRestarted- Flowgraph event for race restart
See Also
- Race CP Reached (Flowgraph Node) - Related reference
- Race Complete (Flowgraph Node) - Related reference
- Race Config (Flowgraph Node) - Related reference
- FlowGraph Guide - Guide