36 — Local is set...
Satisfied while the named local variable is set.
Editor data
- Numeric ID
36- Engine ID
TEVENT_LOCAL_SET- Editor name
- Local is set...
- Need token
NEED_LOCAL- Parameters
- Local variable
local-variable
- Local variable
- Attachment
- general
INI example
[Events]
<TriggerID>=1,36,0,<Local variable>Valid values
- A local variable number from 0 to 49. The map declares its own locals, giving each a name and optionally a starting state.
Caveats
- A local declared with a starting state of 1 is already set on the first frame, so this event can be satisfied before anything in the scenario runs.
- Locals are not cleared between scenarios. A local the map declares without a starting state keeps whatever the previous mission left in it, which is not necessarily clear.
- The event reads the variable's current state on every offer rather than catching the moment it changed, so it is satisfied for the whole time the variable stays set.
- A persistent tag carrying it fires on every offer over that stretch, which is once a frame for a tag on the general list.
- Changing a local one of the trigger's own events names restarts that trigger's countdown, so pairing this event with a time event measures the delay from the change.
- Naming a number outside the range of the table leaves the answer never filled in, so what the event reports is whatever was left in the place it reads.
- The event has nothing to ride on. Its tag joins the general list, which adds nothing to the attachment total a semi-persistent tag waits on, so a trigger built on events of this kind needs a volatile or a persistent tag.