CroMoX
New Member
- Reaction score
- 2
Hey guys I was trying to make a trigger where I buy a unit from the tavern, and randomly move it to one of eight set regions on the map, but I wanted to make it since there are 8 players maximum in the map, another person cannot move to that region, and has to move to an unused region.
This is so everyone will spawn at different regions, no doubling up so they cannot kill each other. I already have my regions put in an array, but when I tried to do the actual trigger I could not work out how to do it, I tried loops with integers but it never worked, and I cannot get my head around how to do it.
Any help would be appreciated.
If you need a better description please ask, and I will try to further extend on it
EDIT: Each player will only have one hero each
This is so everyone will spawn at different regions, no doubling up so they cannot kill each other. I already have my regions put in an array, but when I tried to do the actual trigger I could not work out how to do it, I tried loops with integers but it never worked, and I cannot get my head around how to do it.
Any help would be appreciated.
If you need a better description please ask, and I will try to further extend on it
EDIT: Each player will only have one hero each