Skip to content

Triggers

GlowPuff edited this page Nov 24, 2020 · 3 revisions

Triggers have 2 purposes. First, they instruct the companion app to activate Events. Second, and simultaneously, they hold a value of either true or false. Triggers start off with a value of false, and change to true when they are fired. For example, Story Branches can check the value of a Trigger (either true or false) and fire off additional Triggers or Events depending on the result. Tile Blocks, Events and Objectives can "listen" for Triggers to fire, and react to them. Triggers can only be fired ONCE.

If more than one component (Tile Block, triggered Token, Objective, or Event) is listening for the same Trigger, only the first one found by the Companion App will be triggered. If more than one Event is listening for the same Trigger, only one of them will be randomly chosen to activate.

If a Trigger has Multi-Trigger CHECKED, the normal behavior changes, and it will activate ALL components listening for it, including all Events set to be triggered by it. Multi-Triggers can be fired multiple times, and once they are, their value will always be True.

When you start a new Scenario, the editor creates 2 useful Triggers to start you off - "Scenario Ended" and "Objective Complete". These are described in the Tutorial and can be deleted if you won't be using them.

Clone this wiki locally