- Joined
- Sep 25, 2004
- Messages
- 18
how do you make it so that when you cast a spell the units around the hero at the time you casted it cannot leave 300 radius around the hero?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
daelin said:Umm... you could also make a timed trigger (every 0.10 seconds let's say) which:
-> Creates the units around the caster and adds them to an unit group
-> Waits 0.09
-> Removes all units from the unit group.
Heh, it is pretty laggy though but the best best solution.
for each integer a from 1 to 30 do:
loop actions - (destructible)create 1 pathblocker at (point with polar offset)position of casting unit offset (radius) x towards 360/30 * integer a
set (destructible array variable)desturctible doodad[integera] = last created destructible
