Skip to content

Float Threshold Event

Sends an event when a float 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
Float The float variable to watch.
Check Comparison operator (Equals, Greater Than, Greater Than Or Equal, Less Than, Less Than Or Equal).
Thresholds Float 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

Detect when health drops to dangerous levels.

  1. Set Float to PlayerHealth.
  2. Set Check to Less Than Or Equal.
  3. Add 25 to Thresholds.
  4. Set Send Event to LowHealth.