29 — Global Clear...
Clears one of the scenario's fifty global variables.
Editor data
- Numeric ID
29- Engine ID
TACTION_CLEAR_GLOBAL- Editor name
- Global Clear...
- Need token
NEED_GLOBAL- Parameters
- Global variable
global-variable
- Global variable
- Attachment
- none
INI example
[Actions]
<TriggerID>=1,29,0,<Global variable>,0,0,0,0,Valid values
- A global variable number from 0 to 49. A number outside that range does nothing.
Caveats
- Clearing a global that is already clear has no effect. Globals start each scenario clear, except those a [campaign carries over](/systems/campaign-progression/) from the previous mission.
- Clearing a global that was set restarts the countdown of every trigger that has an
Elapsed Time...orRandom delay...event and aGlobal is set...orGlobal is clear...event naming that global. - Globals
0and1also steer a campaign. A global1that is clear when a [SkipMapSelect=yes](/keys/skipmapselect/) mission is won sends the campaign to [NextScenario](/keys/nextscenario/), not [AltNextScenario](/keys/altnextscenario/). A global0that is clear when the mission is won opens the next mission's view at [HomeCell](/keys/homecell/), not [AltHomeCell](/keys/althomecell/). [Campaign progression](/systems/campaign-progression/#what-survives-the-boundary) covers both. - The
[VariableNames]section of the rules labels globals by number. The label has no effect in the game, and the action always uses the number.