Skip to content

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.

  1. Set Integer to Score.
  2. Set Check to Greater Than Or Equal.
  3. Add 1000 to Thresholds.
  4. Set Send Event to ScoreMilestone.