53 — Enable Trigger
Changed in 0.1.0
Enables every trigger of the named type and restarts the countdown behind its timed events.
Editor data
- Numeric ID
53- Engine ID
TACTION_ENABLE_TRIGGER- Editor name
- Enable Trigger
- Need token
NEED_TRIGGER- Parameters
- Trigger
trigger
- Trigger
- Attachment
- none
INI example
[Actions]
<TriggerID>=1,53,2,<Trigger>,0,0,0,0,Valid values
- A trigger type the scenario declares. One trigger is built from it for each tag that carries it, and every one of those is enabled.
Caveats
- Enabling reloads the trigger's single countdown from the delay its map file line gives, so an elapsed time or random delay event on it starts again from the moment this action runs.
- The reload happens whether or not the trigger was already enabled, which makes a second firing a way to restart a countdown already running.
- Nothing else about the trigger is reset. Events a persistent trigger has already marked off stay marked, and a trigger with no timed event of its own is only switched on.
- A trigger already queued for destruction is enabled all the same and still fires nothing.
- A trigger the scenario's difficulty excludes is left alone entirely, so this action cannot bring one back for the difficulty it was switched off at.
History
- Changed0.1.0In development