Conditional call
Conditionally call a program without blocking execution.
The Conditional Call instruction is a non-blocking version of Wait for Signal + Call Program. It triggers only if the condition is true at the moment it runs.
This instruction has four parameters:
- Signal type
- Operator
- State
- Program
Signal type
Defines whether you are reading a global signal or an entity signal.
As described in the Signals page, global signals are configured in Settings, and entity signals come from Components in the scene.
- If Global is selected, choose the signal from the dropdown list.
- If Entity is selected, choose the entity you want to read signals from.
Operator
Defines the comparison operator. Depending on the signal type (boolean, float, or integer), the available operators are:
- equal
- not equal
- greater than
- less than
State
Defines the value you want to compare against.
Program
Select the program name from the dropdown list.