Mission Editor – Progress Multi
Editor sub-module for viewing **multi-progress** data for missions that support multiple progress keys (e.g. aggregate leaderboard data across attempts).
Editor sub-module for viewing multi-progress data for missions that support multiple progress keys (e.g. aggregate leaderboard data across attempts).
Overview
Displays a read-only table of aggregated mission progress data for a selected progress key. Uses gameplay_missions_progress.formatSaveDataForUi to obtain formatted data.
Class Methods
| Method | Signature | Description |
|---|---|---|
C:init | (missionEditor) | Stores editor reference, sets tab name "Progress Multi". |
C:setMission | (mission) | Caches mission instance, formats save data, determines current progress key. |
C:draw | () | Renders a progress key selector combo and an ImGui table of aggregate data. |
Key Concepts
- Progress Key – missions can track progress under multiple keys (e.g.
default,drift,time). The combo lets you switch between them. - Aggregate Data –
formattedProgressByKey[key].ownAggregatecontains labels and rows with per-cell text.
UI Layout
- Header: "Multi Progress: {missionType}"
- Combo: Select progress key from
allProgressKeys - Table: Dynamic columns from
currentAggregatesByKey.labels, rows from.rows
Usage Example
local multiTab = require('extensions/editor/missionEditor/progressMulti')(missionEditorRef)
multiTab:setMission(mission)
multiTab:draw()See Also
- Mission Editor - Additional Attributes - Related reference
- Mission Editor - Career Setup - Related reference
- Mission Editor - Conditions - Related reference
- World Editor Guide - Guide
Mission Editor – Preview Checker
Editor sub-module that **validates and displays** a mission's preview image and thumbnail. Checks for correct file existence, dimensions, and file size.
Mission Editor – Progress Setup
Editor sub-module for viewing and editing **mission progress setup** data. Provides a raw JSON editor for the mission's `saveData`.