Is there any alternative to the random number generator? Whenever I use it, it doesn't seem very random. I'll have it generate between 1 and 10 and get about 20 7's and 1 3 or something... So is there any way to make it more accurate, or any alternative?
If the only alternative is a long and drawn-out JASS trigger than I'm more or less screwed as I hate JASS like the plague... (I know C fairly well, but for some reason coding in JASS makes me want to smash my keyboard.)
Another related question is how do games like Gem TD work, where it randomly generates towers? I can see how to do it using the random function, but again, Gem TD actually gives you random towers and I never get very random numbers, so is my random function just spiteful towards me or do maps like Gem TD employ different random methods?
If the only alternative is a long and drawn-out JASS trigger than I'm more or less screwed as I hate JASS like the plague... (I know C fairly well, but for some reason coding in JASS makes me want to smash my keyboard.)
Another related question is how do games like Gem TD work, where it randomly generates towers? I can see how to do it using the random function, but again, Gem TD actually gives you random towers and I never get very random numbers, so is my random function just spiteful towards me or do maps like Gem TD employ different random methods?
Last edited: