Random

From Eternity Wiki
Revision as of 15:20, 3 May 2026 by Printz (talk | contribs) (Created page with "{{ACSFunction|description=Returns a random number from a range. |usage=''int'' '''Random'''(''int'' ''min'', ''int'' ''max'') |parameters= *''min'': minimum value *''max'': maximum value |return=the random number in the range |notes=This is from the inclusive range between minimum and maximum. |id=(ACS internal)}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Description[edit]

This is an ACS built-in function.

Returns a random number from a range.

Usage[edit]

int Random(int min, int max)

Parameters[edit]

  • min: minimum value
  • max: maximum value

Return value[edit]

the random number in the range

Examples[edit]

No examples given.

Notes[edit]

This is from the inclusive range between minimum and maximum.

This function's identification in zspecial.acs is: (ACS internal).

See also[edit]