- Joined
- May 11, 2012
- Messages
- 2,108
-
Incineration
-

Events
-


Unit - A unit Starts the effect of an ability
-
-

Conditions
-


(Ability being cast) Equal to Incineration
-
-

Actions
-


-------- =========== Start of the Spell =========== --------
-


Set TempTrigUnit = (Triggering unit)
-


Set TempPoint = (Position of TempTrigUnit)
-


Animation - Play TempTrigUnit's Spell animation
-


For each (Integer TempInt) from 1 to 6, do (Actions)
-



Loop - Actions
-




Set TempReal = ((Real(TempInt)) x 60.00)
-




Set TempPoint2 = (TempPoint offset by 32.00 towards TempReal degrees)
-




Unit - Create 1 Dummy Caster for (Owner of TempTrigUnit) at TempPoint facing TempPoint2
-




Set TempDummyUnit = (Last created unit)
-




Unit - Add a 0.50 second Generic expiration timer to TempDummyUnit
-




Unit - Add Dummy Incineration to TempDummyUnit
-




Unit - Set level of Dummy Incineration for TempDummyUnit to (Level of Incineration for TempTrigUnit)
-




Unit - Order TempDummyUnit to Orc Tauren Chieftain - Shockwave TempPoint2
-




Custom script: call RemoveLocation(udg_TempPoint2)
-
-
-


-------- =========== Clearing Handles =========== --------
-


Custom script: call RemoveLocation(udg_TempPoint)
-


Custom script: set udg_TempPoint = null
-


Custom script: set udg_TempPoint2 = null
-


Custom script: set udg_TempTrigUnit = null
-


Custom script: set udg_TempDummyUnit = null
-
-
I debugged the Loop and it goes 6 times, and units are created and degrees are calculated correctly.
Seems like units are unable to target point then.
Any fix? Please help meeeeeee
