Signal Threshold Node
This action node activates any connected node inputs after this node activates the amount of times specified by the Threshold amount.
After you add this node to an asset:
- Connect the In input to the desired node’s output.
- Connect the Out output to the desired node’s input.
- Select this node, and In the options panel, in the Threshold field, enter the amount of times you want the player to activate this node before activating the nodes connected to the Out output.
The following example requires players to press a keyboard button three times to change the asset’s color. Since the Threshold amount is set to 2, the player needs to press the keyboard button twice to fulfill that amount, and once more to activate the Set Color node.
Node Attributes
Option | Description |
Name | Enter a custom name for this node, if needed. |
Threshold | Enter amount of times you want this node to activate before it can activate any connected nodes. |
Single Event | Select this checkbox to require the In input to activate by the Threshold amount once. After the Threshold amount has been fulfilled, the Out output will activate any connected nodes when In input activates. |
If needed, you can also customize this node. For details, see Customizing Nodes.