Skip to content

57 — Local Clear...

Clears one of the scenario's fifty local variables.

Editor data
Numeric ID
57
Engine ID
TACTION_CLEAR_LOCAL
Editor name
Local Clear...
Need token
NEED_LOCAL
Parameters
  1. Local variablelocal-variable
Attachment
none
INI example
[Actions]
<TriggerID>=1,57,0,<Local variable>,0,0,0,0,

Valid values

  • A local variable number from 0 to 49. A number outside that range does nothing.
Caveats
  • Clearing a local that is already clear changes nothing, so it restarts no countdown.
  • Clearing a local that was set restarts the elapsed-time and random-delay countdowns of every trigger that has an event naming that local, wherever the trigger is attached.
  • Locals are not reset between scenarios. A local the map gives no starting state keeps whatever the previous mission left in it, so clearing it at the start of a later mission can be a real change.