Trigger Gates

trigger the action of another Node

Triggers Gates trigger the action of another Node on the diagram.

Trigger Gates use State Connections for Outputs, and have NO Input Resource Connections.

Trigger Gates support all 4 types of activation (Passive, Interactive, Automatic, OnStart) and also support external trigger inputs.

Depending on its distribution mode AND its Output State Connections' Labels, Trigger Gates will activate other Nodes.

Trigger Gates support * as a State Connection Label. Triggers

Every time a Gate performs an action, the * target will be activated.

Here are all the Trigger Nodes and their expected actions.

1. Deterministic

Deterministic Trigger Gates trigger the action of the targeted Nodes depending on the Label on their State Connections.

1.1 Deterministic Trigger Gates with numeric Labels

A Deterministic Gate with not input and one or more State Connections as outputs, for which the Labels have numeric values.

Each Time Step the Gate activates the Sources in a sequential manner, for as many times as it is dictated by the numeric value on their respective State Connection Label. The order in which the sequence of activation starts is determined by which branch was first added to the diagram. As such, the Source on the upper branch will start its activation sequence first, and it will be activate twice. The algorithm will then continue with the second Source added, and it will activate it 5 times, 1 activation/Time Step.

1.2 Deterministic Trigger Gates with conditional Labels

A Deterministic Gate with not input and one or more State Connections as outputs, for which the Labels have conditional values.

Takes into account the execution Time Step count.

The Gate counts the number of execution steps and activates the Source for which the number of the step meets the condition

Here's what happens in the example above:

  1. for Time Steps between 1 and 2, it activates the upper branch

  2. Step 3 doesn't meet any of the conditions, so it's skipped

  3. for Time Steps >3 it activates the lower branch

2. Random

Random Trigger Gates randomly trigger target Nodes depending on the Label of their State Connection.

2.1 Random Trigger Gate with numeric Labels

A Random Gate with not input and one or more State Connections as outputs, for which the Labels have numeric values.

The Gate randomly activates the branches, but the number of executions is the one determined by the State Connections' Labels.

In the example above, in 7 Time Steps the upper Source will be activated 2 times, while the lower one 5 times. The order in which these executions happens is random.

2.2 Random Trigger Gate with conditional Labels

A Random Gate with not input and one or more State Connections as outputs, for which the Labels have numeric values.

The Gate throws a die having a number of faces equal to the die set at diagram level:Diagram Functional > Dice - default value for the die is D6. According to the number of the die throw, the Gate activates the branch that meets the condition.

Here's what happens in the example above:

  1. The Gate throws a 10-faced die (set at diagram level for this example)

  2. Any value between 1and 2 will activate the upper branch

  3. Any value between 4 and 10 will activate the lower branch

  4. 3 will be skipped, as it doesn't meet any of the triggering conditions