Skip to content

Float Switch

The Float Switch action sends events based on the value of a float variable.

Parameter Description
Float The float variable to check.
Check The numeric comparison used for each case. The first matching case is used.
Cases A list of float cases and the event to send for the first case that passes the check.
Default Event The event sent if no case matches.

Example

Use this action to branch score or health ranges.

  1. Set Float to Health.
  2. Set Check to Less Than Or Equal.
  3. Add cases like 25 -> Critical, 50 -> Low.
  4. Set Default Event to Normal.