Osiris/API/Random

From Divinity Engine Wiki
Revision as of 15:40, 19 December 2017 by Tinkerer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Full Definition(s)
  • query Random([in](INTEGER)_Modulo, [out](INTEGER)_Random)
Description

Returns a random integer value between 0 and (_Modulo - 1). For a negative _Modulo, the result will be between _Modulo and 0.

Return Values
  • Success/Failure: Never fails.
  • _Random: A random number.
Notes
  • /
See Also
  • /