I need to make a trigger that every 5 minutes, it will pick a random point in a random set of regions and spawn a unit at said random point in the randomly chosen set of 4 regions.
dude this is way easier than you are making it out to be. just merge all 4 regions. as long as they cover equal amounts of area, one will be chosen at random.
The 4 regions all vary in size if that is what you mean, i know you can make regions with crazy shapes but i figured the varied sizes would cause bugs.
I need to make a trigger that every 5 minutes, it will pick a random point in a random set of regions and spawn a unit at said random point in the randomly chosen set of 4 regions.
Create your four regions, add them each to a region variable array. And then use the random integer math function to pick one of the regions.
I made an example map.
Setting up random region-random point in region triggers sure are complex, thanks for the help!
dude this is way easier than you are making it out to be. just merge all 4 regions. as long as they cover equal amounts of area, one will be chosen at random.
<Click Here> To See My Epic Single Player Campaign (LifeForceCampaign.com)
The 4 regions all vary in size if that is what you mean, i know you can make regions with crazy shapes but i figured the varied sizes would cause bugs.