Wiki

Options

Case Status
Log In

Wiki

Options

 
Home ยป Action Reference»Debug Actions»Assert
Index
Navigation
Community Wiki

Assert

Checks if the conditional expression Is True or Is Not True. Stops execution of the game if the assertion fails, so that you can debug why.

This is a useful way to check your assumptions. If you expect a certain value use an Assert to make sure!

Only runs in Editor.

Expression
Enter an expression to evaluate. Using variable names defined by the FSM and/or global variables. Examples:

health <= maxHealth
lives < 100

Use $(for variable names with spaces)
Assert
Expected result of the expression.
Every Frame
Repeat every frame while the state is active.

 

See Also:

Tags:

Last modified on 12/29/2017 4:04 PM by User.

  • RSS Feed