Black Ops III

RandomInt

Returns a random integer between 0 and max-1 inclusive

Example:

if ( RandomInt( 100 ) > 50 ) ...

Parameters

ParameterSummary
*maxThe maximum integer size

* = mandatory