- Joined
- Apr 29, 2012
- Messages
- 20
Put other thread in wrong section.
I made a spell based off of thunder clap, and the idea is that it calls down lightning bolts to strike all enemies within a certain range of the caster.
here's my trigger:
Thanks in advance
I made a spell based off of thunder clap, and the idea is that it calls down lightning bolts to strike all enemies within a certain range of the caster.
here's my trigger:
-
Bolt Strike
-
Events
- Unit - A unit Begins casting an ability
-
Conditions
- (Ability being cast) Equal to Bolt Strike
-
Actions
-
Unit Group - Pick every unit in (Units within 50.00 of (Position of (Casting unit)) matching ((Owner of (Matching unit)) Equal to Player 11 (Dark Green))) and do (Actions)
-
Loop - Actions
- Set tempPoint[1] = (Position of (Picked unit))
- Special Effect - Create a special effect at tempPoint[1] using Doodads\Cinematic\Lightningbolt\Lightningbolt.mdl
- Custom script: call RemoveLocation(udg_tempPoint[1])
-
Loop - Actions
-
Unit Group - Pick every unit in (Units within 50.00 of (Position of (Casting unit)) matching ((Owner of (Matching unit)) Equal to Player 11 (Dark Green))) and do (Actions)
-
Events
Thanks in advance