Osiris/API/Random
From Divinity Engine Wiki
Full Definition(s)
- query Random([in](INTEGER)_Modulo, [out](INTEGER)_Random)
Description
Returns a random integer value between 0 and (_Modulo - 1).
Return Values
- Success/Failure: Never fails.
- _Random: A random number.
Notes
For a negative _Modulo, the result will be between (_Modulo + 1) and 0.
See Also
-