Call of Duty Script Documentation
assert( <value> )
ModuleDebug
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
1 : <value> statement that is asserted to be correct
Number of optional arguments: 0
Return to Function List