Difference between revisions of "Math.randomseed"
From GiderosMobile
Line 6: | Line 6: | ||
math.randomseed(seed) | math.randomseed(seed) | ||
</source> | </source> | ||
− | '''seed''': (number) seed for random number generator | + | === Parameters === |
+ | '''seed''': (number) seed for random number generator <br/> |
Revision as of 10:46, 23 August 2018
Available since: Gideros 2011.6
Description
Sets x as the "seed" for the pseudo-random generator: equal seeds produce equal sequences of numbers.
math.randomseed(seed)
Parameters
seed: (number) seed for random number generator