Assert( <value> )


Module: Debug

Summary:

Assert that the given statement is correct. The function will throw a script error if this is false.



Example:

Assert ( enemyInSight == true );



Required Args:

  • 1 : <value> statement that is asserted to be correct