Skip to content

12 — Destroy Trigger

Changed in 0.1.0

Removes every trigger of the named type from the scenario for good.

Editor data
Numeric ID
12
Engine ID
TACTION_DESTROY_TRIGGER
Editor name
Destroy Trigger...
Need token
NEED_TRIGGER
Parameters
  1. Triggertrigger
Attachment
none
INI example
[Actions]
<TriggerID>=1,12,2,<Trigger>,0,0,0,0,

When a trigger is removed, its tag moves on to the next trigger in its chain. A tag that held only this trigger, the usual shape, is left with no trigger at all. It stays on its object or cell and springs nothing for the rest of the scenario.

An Allow Win tag emptied this way can never lift its hold on the victory. Destroying the tag afterward leaves the hold in place. Destroying the tag instead explains why.

Valid values

  • A trigger type the scenario declares.
Caveats
  • Every tag that holds the type has a separate trigger built from it, and the action removes all of them.
  • A removed trigger stops springing and firing the moment the action runs.
  • A trigger can name its own type. It is removed, but the rest of the action list it is running still runs.
  • The tags stay. Only the triggers are removed from them.

History

  1. Changed0.1.0

    Destroy triggers and tags at the end of the frame