Skip to content

NextScenario

The mission the campaign advances to when this one skips the map selection screen.

Specification
Applies to
scenarios
File
map file
Section
[Basic]
Value
string
When omitted
UnchangedThe stored name is not cleared between missions, so a mission that omits the key keeps whatever the previously loaded mission wrote, and only the first mission of a session finds it empty.
map file
[Basic]
SkipMapSelect=yes
NextScenario=Maps/Missions/GDI2A.MAP

The name is used only when SkipMapSelect is set, and only when the second global flag is clear — with it set, AltNextScenario is taken instead. Nothing else consults it, so a mission that leaves the map selection screen in place can carry any value here without effect.

The advance runs through the campaign’s map selection data rather than loading the file directly: the name is compared, ignoring case, against the scenario of each stage the mission’s current stage offers as a next step, and a match moves the campaign to that stage. The path written therefore has to be the same path the progression data records, and campaign progression covers where that data lives.