API ReferenceGE ExtensionsflowgraphnodesuiupdatedUI
EndScreen Drag Time Slip (Flowgraph Node)
- **Node Name:** `EndScreen Drag Time Slip`
Overview
- Node Name:
EndScreen Drag Time Slip - Category:
repeat_instant - File:
extensions/flowgraph/nodes/ui/updatedUI/endScreenTimeSlip.lua
Displays a drag race time slip with detailed timing information on the end screen.
Pin Schema
Input Pins
| Pin | Type | Description |
|---|---|---|
flow | flow (chain) | Chain inflow |
Output Pins
| Pin | Type | Description |
|---|---|---|
flow | flow (chain) | Chain outflow |
Internals
Key Methods
| Method | Description |
|---|---|
init() | Creates the base panel structure with type "dragTimeSlip" |
work() | Fetches time slip data and adds the panel to the UI |
How It Works
init()creates a panel template:{ type = "dragTimeSlip", header = "Timeslip", timeslip = {}, pages = { timeslip = true } }.- On each
work()call, fetches slip data viagameplay_drag_general.createTimeslipData(). - If no data is available, logs a warning and adds the empty panel anyway.
- Otherwise, populates
panel.timeslipwith the data and adds it viamgr.modules.ui:addUIElement().
Usage Example
-- Flowgraph chain:
-- [EndScreen Begin] → (build) → [EndScreen Drag Time Slip] → [Screen Finish]
-- Time slip data is sourced from the drag system:
local slipData = gameplay_drag_general.createTimeslipData()
-- slipData contains reaction time, 60ft, 330ft, 1/8 mile, 1/4 mile, etc.Key Dependencies
gameplay_drag_general.createTimeslipData()- generates the time slip datamgr.modules.ui:addUIElement()- adds the panel to the screen layout
See Also
- EndScreen Begin (Flowgraph Node) - Related reference
- EndScreen Drift Stats (Flowgraph Node) - Related reference
- EndScreen Lap Times (Flowgraph Node) - Related reference
- FlowGraph Guide - Guide