-
-
Notifications
You must be signed in to change notification settings - Fork 18
random_get_seed
drewmccluskey edited this page Dec 31, 2018
·
3 revisions
Returns current seed
random_get_seed()
Returns: int
The seed produces a specific series of random events. When you want to create something random and want the same generation in the future or to share it with another connection, you can use the seed number.
int currentSeed = random_get_seed();
This code will set variable currentSeed to the current game seed.
Back to number_functions