- Joined
- Mar 27, 2009
- Messages
- 309
What would be the easiest way to limit a unit's movement to a circular region?
I believe I can achieve this by checking that the point the unit is being sent to is withing a, say, 256 circular region from where the unit is located...
I also need a way to graphically show this, something around the range indicator for an ability would work, or some splat borrowed from a AOE image may work.
I am considering also making a circle from special effects, as was done in warcraft 3.
I'm new to sc2 modding, so I'm sure theres some easy way to do this.
Thanks
I believe I can achieve this by checking that the point the unit is being sent to is withing a, say, 256 circular region from where the unit is located...
I also need a way to graphically show this, something around the range indicator for an ability would work, or some splat borrowed from a AOE image may work.
I am considering also making a circle from special effects, as was done in warcraft 3.
I'm new to sc2 modding, so I'm sure theres some easy way to do this.
Thanks