Difference between revisions of "Rand"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WereWolf
(Changed categories)
imported>Haama
m (Standardized)
Line 6: Line 6:
Returns a random number between min and max.
Returns a random number between min and max.


==Example==
'''Example'''


  set n to rand 1 100
  set n to rand 1 100

Revision as of 13:46, 24 May 2008

A command for Oblivion Script Extender

Syntax:

rand [min] [max]

Returns a random number between min and max.

Example

set n to rand 1 100

See Also