Skip to content

Evaluate Boolean Expression

Evaluate a boolean expression with numeric sub-expressions and optionally store the result or send true and false events.

Parameters

Parameter Description
Expression Boolean expression to evaluate. Use {VariableName} to reference FSM variables and string variables.
Succeeded Optional bool variable set to true if the expression evaluated successfully.
Result Optional bool variable that receives the expression result.
True Event Optional event to send if the expression evaluates to true.
False Event Optional event to send if the expression evaluates to false.

⚙ Details

Supports >, <, >=, <=, ==, !=, &&, ||, and !, with parentheses for grouping. If no result variable or events are assigned, the action reports an error because it has nothing to output.

Examples

  • Evaluate {Health} > 0 && !{IsDead} to decide whether gameplay should continue.
  • Use {State} == \"Ready\" && {Ammo} > 0 to trigger a True Event only when both conditions pass.

See also