T
Two_Sandals
Guest
Im making a map that deals heavily with random numbers. Now i know how to generate random numbers, but the problem is they aren't truely random. No matter how many times i do it, the random numbers are the same as every trial. For example say i want to output a number from 1 to 5. I run the trigger and get these numbers, 2,3,5,3,1,4. I then exit the program, and restart it. And run the trigger again, i get 2,3,5,3,1,4, the same numbers. Now i took a beginner programmer class using visual basic this year in school, and learn to deal with this and make the random numbers truely random in every trial, the generation code must be preceded by the command "randomize timer". This makes them random everytime you do this. But since War3 Editor uses Jass and not basic it doesn't work. Does anyone know the command or how to do this?


