Topic: HELP: Random Numbers

Hello everyone! Well, there is a question I have about random numbers. Using the 'random' function to randomize an integer I get always a fixed number when the trigger fires.

For more details, I have made a trigger that randomly creates a door or a wall (made into units) in certain places. I put the action in the iniitialization and set the range from 1 to 100. Whenever I start the game, I always get 54.

I encountered this problem with almost all programming languages and most of them had an 'Randomize' function that resets the seed. Any help on what could i do?

Re: HELP: Random Numbers

I have tried to change the event to things like timers, chat texts and hero movement and still I always get the same sequence of numbers...

Is there any "Randomize" function in WC3, or any other way to make random numbers... really random?

Re: HELP: Random Numbers

I seem to remember running into this problem a long time ago. Sadly, I don't remember if I ever found a solution, and there is no method (as far as I can recall) to change the seed.

http://card.mygamercard.net/gelsig/gold/SansSariph.png