Spawning units in circle arround area

Status
Not open for further replies.
Level 2
Joined
Apr 25, 2015
Messages
9
Hi people! I'm making a map on WE and i wanted to make a spell that would target an area, and spawn units forming a circle arround the targeted area's center using a trigger. Upon using the spell, correct units are created (right amoount too), but i cant figure out how to make them circle.
The aim is something like Furion's Sprout for Dota players.
If someone has an idea, a hint or even a full trigger...
 
You will require a lot of location removes but this might work:
create a loop from 0 to ... (the amount of units that form the circle)
inside the loop create a new location with polar offset from another location. Use the distance that you want the units to have from the center and use (360/(amount of units) X integerA) as the degree.
 
Status
Not open for further replies.
Back
Top