Call of Duty Script Documentation

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 );

Minimum Number of arguments: 1


Number of optional arguments: 0



Return to Function List