Skip to content

Value

Value actions evaluate variables and branch your FSM based on test results.

Most follow the Check pattern: test a target value, send a True/False event, and optionally store the result in a bool.

Check Actions

Actions that start with Check evaluate a condition:

FloatLessThan

# Control Description
Target The target to check.
Check The test to perform.
True Event Event to send if the test is true.
False Event Event to send if the test is false.
Store Result Store the result of the test in a bool variable.

All Check actions follow this format, only the test varies.

Condition Builder

Some actions use a Condition Builder to build the test:

CheckVariable

The available tests depend on the type of variable you're checking.

Logic Value Actions List

Action Name Test
Bool Is True Checks if a bool variable is true.
Check Bool Equals Checks if a bool variable equals a given value.
Check Data Record Equals Checks if two Data Records are equal by field values.
Check Enum Equals Checks if an enum variable equals a given value.
Check Float Checks a float value against a selected condition.
Check Float Equals Checks if a float variable equals a given value.
Check Float Greater Than Checks if a float variable is greater than a given value.
Check Float Greater Than Or Equal Checks if a float variable is greater than or equal to a given value.
Check Float Is Negative Checks if a float variable is negative.
Check Float Is Positive Checks if a float variable is positive.
Check Float Less Than Checks if a float variable is less than a given value.
Check Float Less Than Or Equal Checks if a float variable is less than or equal to a given value.
Check Float Value Checks a float value.
Check Game Object Checks a GameObject value against a selected condition.
Check Game Object Equals Checks if a GameObject variable matches a given value.
Check Int Checks an integer value against a selected condition.
Check Int Equals Checks if an integer variable equals a given value.
Check Int Greater Than Checks if an integer variable is greater than a given value.
Check Int Greater Than Or Equal Checks if an integer variable is greater than or equal to a given value.
Check Int Less Than Checks if an integer variable is less than a given value.
Check Int Less Than Or Equal Checks if an integer variable is less than or equal to a given value.
Check Int Value Checks an integer value.
Check String Checks a string value against a selected condition.
Check String Equals Checks if a string variable equals a given value.
Check Transform Checks a transform value against a selected condition.
Check Variable Checks a variable value against a selected condition.
Check Variable Equals Checks if a variable equals a given value.
Int Compare Compares an integer variable with another integer.