API ReferenceGE ExtensionsflowgraphnodesuiupdatedUI
EndScreen Results (Flowgraph Node)
- **Node Name:** `EndScreen Results`
Overview
- Node Name:
EndScreen Results - Category:
repeat_instant - File:
extensions/flowgraph/nodes/ui/updatedUI/endScreenResults.lua
Shows mission results on the end screen, including attempt data, optional objectives, and ratings.
Pin Schema
Input Pins
| Pin | Type | Description |
|---|---|---|
flow | flow (chain) | Chain inflow |
text | string/table | Results subtext |
change | table | Attempt change data from aggregate attempt node |
includeObjectives | bool | Auto-add objectives after the panel |
includeRatings | bool | Auto-add ratings after the panel |
Output Pins
| Pin | Type | Description |
|---|---|---|
flow | flow (chain) | Chain outflow |
Internals
Key Methods
| Method | Description |
|---|---|
work() | Builds result text panels, objectives, and ratings |
How It Works
- Passes
flowthrough. - If
change.formattedAttemptexists, adds atextPanelUI element with header "Results" and the attempt data on themainpage. - If
textis provided (and non-empty), adds a secondtextPanelwith that text. - If
includeObjectivesis true, callsmgr.modules.ui:addObjectives(change). - If
includeRatingsis true, callsmgr.modules.ui:addRatings(change).
Usage Example
-- Flowgraph chain:
-- [EndScreen Begin] → (build) → [EndScreen Results] → [Screen Finish]
-- ↑ change (from aggregate attempt node)
-- ↑ text = "Great run!"
-- ↑ includeObjectives = true
-- The UI element structure:
mgr.modules.ui:addUIElement({
type = 'textPanel',
header = "Results",
attempt = change.formattedAttempt,
text = "Great run!",
pages = { main = true },
})Key Dependencies
mgr.modules.ui:addUIElement()- adds panels to the screen layoutmgr.modules.ui:addObjectives()- renders objective completionmgr.modules.ui:addRatings()- renders star/medal ratings
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