X-maul
AKA: Demtrod
- Reaction score
- 201
i want an ability that creates a ring of Lightning Bolt doodads in a ring that will capture all units inside it...
how to create it?
how to create it?
e: unit starts the effect of an ability
c: ability being cast equal to "your ability"
a: set cast_point = target point of ability being cast
set angle = 0.00 (or facing of triggering unit to make it look better, never tried it though)
For each (Integer A) from 1 to 12
Loop actions
create 1 "your doodad" at cast_point offset by 300 towards angle degrees
set angle = angle + 30
set lighting_bolt[Integer A] = last created doodad [I]or[/I] destructible
Custom script: call RemoveLocation(udg_cast_point)
Wait x seconds
For each (Integer A) from 1 to 12
Loop actions
kill/remove lighting_bolt[Integer A]