Function
Util
Util_GetCompareRandomNumberGenerated
Returns if the random number generated succeeds the comparison with the supplied value
On this page
Util_GetCompareRandomNumberGenerated(min, max, comparisonValue, comparisonOperator)Description
Returns if the random number generated succeeds the comparison with the supplied value
Parameters
minIntegerrequiredmaxIntegerrequiredcomparisonValueIntegerrequiredcomparisonOperatorEnumrequired
Returns
BooleanSource
Declared in the game's script sources at:
scar/scarutil.scar