HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Random Region?

04-14-2007, 06:02 PM#1
Histenchist
Well this is probably a noob question but i just wonder how to; Every 4~ sec, to set a random region to a variable region? (No jass please)
04-14-2007, 06:27 PM#2
wyrmlord
Put all the regions into one array variable, then get a random number between 0 and number of regions-1. You then use that index of the array as a region.
04-14-2007, 07:04 PM#3
Histenchist
ahhh didnt think of that...

ThX