HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

randomize the random generator?

12-01-2002, 04:47 AM#1
Guest
is there someway to randomize the random generator?
right now my map uses random integers alot, to create a different landscape each game (supposedly) but unfortunately, it just produces the same landscape (ie the random generator isn't that random) :(
12-01-2002, 05:14 AM#2
Unindel
i assume you're using test map function in we. it always uses the same random seed, so it'll always come up w/same "random" numbers. try it in actual game through custom and it should work.
12-02-2002, 06:18 PM#3
Guest
Also, cinematic mode will turn off the random number generator (by setting the seed to 0). In that case, you would either have to avoid going fully into cinematic mode, or reset the random number generator. I think the JASS function is "RandomSeed(integer)" but I'm not sure.
12-02-2002, 06:23 PM#4
Zero
Wow I had no idea you could do something like that. That's insane to be able to get a random terrain every game.
12-02-2002, 06:50 PM#5
Milkman
Insane, yet Cool as hell
12-02-2002, 09:30 PM#6
Axiverse
how?