Integer Threshold Event
Sends an event when an integer reaches one or more threshold values.
This action is edge-triggered, so it sends the event only when the condition becomes true. If the condition stays true, it does not repeatedly send events.
Default update mode: On Event Update.
Parameters
| Parameter | Description |
|---|---|
| Integer | The integer variable to watch. |
| Check | Comparison operator (Equals, Greater Than, Greater Than Or Equal, Less Than, Less Than Or Equal). |
| Thresholds | Integer list of threshold values to test. |
| Send Event | Event sent when a threshold is reached. |
How It Triggers
For each value change, the action compares the current value and previous value. It sends Send Event when the condition is true now, but was false before.
Example
Trigger an event when score reaches a milestone.
- Set Integer to
Score. - Set Check to
Greater Than Or Equal. - Add
1000to Thresholds. - Set Send Event to
ScoreMilestone.