Call of Duty Script Documentation

assertex( <value>, <message> )


Module
Debug


Summary


assert that the given statement is correct. The function will throw a script error if this is false, with the given message

Example


assertex ( enemyInSight == true, "There is no enemy is sight!!" );

Minimum Number of arguments: 2


Number of optional arguments: 0



Return to Function List