Squishy
You can change this now in User CP.
- Reaction score
- 127
My ability is supposed to cast Shadow Strike from the position of the casting unit at every unit within the AoE of the ability. There is something wrong but I can't figure out what it is. Any ideas? Heres my trigger.
Code:
Ability
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Ability
Actions
Set Temp_Point = (Target point of ability being cast)
Set Temp_Group = (Units within 200.00 of Temp_Point matching (((Matching unit) belongs to an enemy of (Owner of (Casting unit))) Equal to True))
Custom script: call RemoveLocation (udg_Temp_Point)
Unit Group - Pick every unit in Temp_Group and do (Actions)
Loop - Actions
Set Temp_Point = (Position of (Casting unit))
Unit - Create 1 Dummy for (Owner of (Casting unit)) at Temp_Point facing Default building facing degrees
Custom script: call RemoveLocation (udg_Temp_Point)
Unit - Add Shadow Strike to (Last created unit)
Unit - Order (Last created unit) to Night Elf Warden - Shadow Strike (Picked unit)
Unit - Add a 10.00 second Generic expiration timer to (Last created unit)
Custom script: call DestroyGroup (udg_Temp_Group)