Difference between revisions of "Rand"
Jump to navigation
Jump to search
imported>Haama m (Standardized) |
imported>Haama (Added algorithm info) |
||
Line 9: | Line 9: | ||
set n to rand 1 100 | set n to rand 1 100 | ||
==Notes== | |||
*This function uses the [http://en.wikipedia.org/wiki/Mersenne_Twister Mersenne Twister algorithm]. | |||
==See Also== | ==See Also== |
Revision as of 13:48, 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
Notes
- This function uses the Mersenne Twister algorithm.