56 — Local Set...
Sets one of the scenario's fifty local variables.
Editor data
- Numeric ID
56- Engine ID
TACTION_SET_LOCAL- Editor name
- Local Set...
- Need token
NEED_LOCAL- Parameters
- Local variable
local-variable
- Local variable
- Attachment
- none
INI example
[Actions]
<TriggerID>=1,56,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
- Setting a local that is already set changes nothing and restarts no countdown.
- When the local changes from clear to set, every trigger with a [Local is set...](/mapping/events/tevent-local-set/) or [Local is clear...](/mapping/events/tevent-local-clear/) event naming that local restarts its elapsed time or random delay countdown. This applies to such triggers on every tag in the scenario.
- A local can already be set when the scenario begins. The map may give it a starting value of 1. A local the map gives no starting value keeps the value that the previous mission, or an earlier attempt at this mission, left in it.