Jump to content

AltNextScenario: Difference between revisions

From ModEnc²
en>Blade
No edit summary
m 4 revisions imported
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Flag
{{Flag
|name={{PAGENAME}}
|name={{PAGENAME}}
|files={{Categ|Rules(md).ini}}
|files={{Categ|Maps}}
|types={{Categ|Basic}}
|values={{Values|STRINGS|Map file name}}
|values={{Values|STRINGS|Map file name}}
|default=?
|default=none
|ts=yes
|ts=yes
|fs=yes
|fs=yes
|ets=yes
|ets=yes
|hp=yes
|ra2=yes
|yr=yes
|ares=yes
}}<br />
}}<br />
This is used when the game sends you on an alternative secret mission instead of the next one in sequence, usually after the completion of a special objective during the mission. This is achieved by setting the Global Variable 1 to a value to 1 by trigger during a mission. This causes the game to use the map file defined by the flag to play rather than following the normal map selection procedure determined by mapsel.ini. Note that the file name specified here must match and correspond exactly with the file name for a mission as detailed in the battle.ini, mapsel.ini and mission.ini files.
Specifies an alternate mission that the player can proceed to after this mission, usually by completing a special objective. This is achieved by setting the [[VariableNames|global variable]] number 1 (namely {{tt|<Alternate Next Scenario>}} as defined in {{ini|rules}}{{arr|r}}{{sl|VariableNames}}) to a value of 1 during the mission, either by [[Actions_(maps)/RA2YR|map trigger action #28 (set global  variable)]] or [[ScriptTypes/ScriptActions|script action #12]]. This causes the game to use the map file defined by this flag as the next mission rather than the map in {{f|NextScenario|link}}. {{f|SkipMapSelect|link}} should be enabled to skip the normal map selection procedure.
 
Note that the file name specified here must match and correspond exactly with the file name for a mission as detailed in the {{ini|mapsel}} and {{ini|mission}} files. In {{ini|mapsel}}, the progression from the current map should have both the entries of the normal mission map and the alternative mission map.
 
==See also==
*[[NextScenario]]
*[[Campaign Progression]]

Latest revision as of 21:35, 31 March 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: AltNextScenario
File(s): Maps
Values: Strings: Normal text. (Limited to: Map file name)
Default: none
Applicable to: Basic



Specifies an alternate mission that the player can proceed to after this mission, usually by completing a special objective. This is achieved by setting the global variable number 1 (namely <Alternate Next Scenario> as defined in rules(md).ini[VariableNames]) to a value of 1 during the mission, either by map trigger action #28 (set global variable) or script action #12. This causes the game to use the map file defined by this flag as the next mission rather than the map in NextScenario. SkipMapSelect should be enabled to skip the normal map selection procedure.

Note that the file name specified here must match and correspond exactly with the file name for a mission as detailed in the mapsel(md).ini and mission(md).ini files. In mapsel(md).ini, the progression from the current map should have both the entries of the normal mission map and the alternative mission map.

See also