- Joined
- Apr 29, 2012
- Messages
- 20
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:
Anybody have ideas how to get this to work? It probably has something to do with the "tempPoint", not sure if that works with multiples. Even then, though, wouldnt I see at least 1 lightning bolt? I dont see anything currently!
Thanks in advance
here's my trigger:
Code:
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])
Anybody have ideas how to get this to work? It probably has something to do with the "tempPoint", not sure if that works with multiples. Even then, though, wouldnt I see at least 1 lightning bolt? I dont see anything currently!
Thanks in advance