28 — Global is clear...
Satisfied while the named global variable is clear.
Editor data
- Numeric ID
28- Engine ID
TEVENT_GLOBAL_CLEAR- Editor name
- Global is clear...
- Need token
NEED_GLOBAL- Parameters
- Global variable
global-variable
- Global variable
- Attachment
- general
INI example
[Events]
<TriggerID>=1,28,0,<Global variable>Valid values
- A global variable number from 0 to 49. The scenario database gives fifty globals their names, and the event names one of them by number.
Caveats
- Every global starts a scenario clear unless a campaign carried it over set, so this event is satisfied from the first frame in the ordinary case. A trigger built on it alone fires immediately.
- 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 clear.
- 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 global 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.