Unity Plugin (UP) & API
Activators connect two Nodes.
They activate or inhibit their target Node based on the state of their origin Node and a specific Condition.
The Activator’s Formula specifies this Condition.
Conditions are written as an arithmetic expression (for example, ==0,=4, or !=2) or a range of values (such as 3..6).
If the state of the origin Node meets this Condition, then the target Node is activated (it can fire). When the Condition is not met, the target Node is inhibited (it cannot fire).
Play this example diagram below to get how Formula Activators work.
- Notice how state changes in the Activator Pool affect each Target Source, according to the Formula on their respective State Connections.
- Interact with the Decrease and Increase Pools, to modify the number of Resources in the Activator Pool.