emootootoo
Top Banana
- Reaction score
- 51
My random number generator is getting the exact same seed every game (using test map AND on Battle.net).
What's meant to happen is RANDOM units are supposed to spawn in RANDOM parts of different rects.
But no, units are spawning as the exact same units and in the exact same spots when it should be completely random at the start of each game.
I can guarentee I haven't seeded it at any point in my maps script, I checked by ctrl-fing the war3map.j.
If I do seed it some number, obviously the units get spawned differently, however there is no way that I know of to seed it a value based off real time in wc3.
Got a clue anyone?
What's meant to happen is RANDOM units are supposed to spawn in RANDOM parts of different rects.
But no, units are spawning as the exact same units and in the exact same spots when it should be completely random at the start of each game.
I can guarentee I haven't seeded it at any point in my maps script, I checked by ctrl-fing the war3map.j.
If I do seed it some number, obviously the units get spawned differently, however there is no way that I know of to seed it a value based off real time in wc3.
Got a clue anyone?