Hello guys,
I am having a problem in removing special effect from group, i'll post my trigger.
I know my trigger might be bad but i am just having fun creating spells my way
If you feel like pointing out other things than my main question feel free to help me out in improving my work. Thanks
The main problem is that the frost nova special effect is still on units. it never goes out and not even from a single one unit.
BTW,,, i used the normal special effcet variable too and it doesnt work. it works for me if i attach special effect on one unit only. but not when i attach to groups. so i tried the array with size one but not sure how to use it lol...
I am having a problem in removing special effect from group, i'll post my trigger.
I know my trigger might be bad but i am just having fun creating spells my way
If you feel like pointing out other things than my main question feel free to help me out in improving my work. Thanks
The main problem is that the frost nova special effect is still on units. it never goes out and not even from a single one unit.
BTW,,, i used the normal special effcet variable too and it doesnt work. it works for me if i attach special effect on one unit only. but not when i attach to groups. so i tried the array with size one but not sure how to use it lol...
-
Death Copy
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
((Unit-type of (Dying unit)) Equal to Water Elemental (Level 1)) or (((Unit-type of (Dying unit)) Equal to Water Elemental (Level 2)) or (((Unit-type of (Dying unit)) Equal to Water Elemental (Level 3)) or (((Unit-type of (Dying unit)) Equal to Water Elemental (Level 4)) or ((Unit-type of (Dying unit)) Equal to Water Elementa
-
-
Actions
-
Set WE_DyingUnit = (Dying unit)
-
Unit Group - Pick every unit in (Units within 800.00 of (Position of WE_DyingUnit) matching (((Matching unit) belongs to an enemy of (Owner of WE_DyingUnit)) Equal to True)) and do (Actions)
-
Loop - Actions
-
Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
-
Set WE_SE[100] = (Last created special effect)
-
-
-
Unit - Create 1 Dummy Stable for (Owner of WE_DyingUnit) at (Position of WE_DyingUnit) facing Default building facing degrees
-
Set WE_DeathStun = (Last created unit)
-
Unit - Add WaterElemental Death 1 to WE_DeathStun
-
Unit - Order WE_DeathStun to Orc Tauren Chieftain - War Stomp
-
Unit - Create 1 Dummy Attacking Stable for (Owner of WE_DyingUnit) at (Position of WE_DyingUnit) facing Default building facing degrees
-
Set WE_DeathAttack = (Last created unit)
-
Unit - Add Barrage WE death to WE_DeathAttack
-
Unit - Order WE_DeathAttack to Attack (Random unit from (Units within 800.00 of (Position of WE_DeathAttack)))
-
Wait 3.00 seconds
-
Special Effect - Destroy WE_SE[100]
-
Unit - Remove WE_DeathAttack from the game
-
Unit - Remove WE_DeathStun from the game
-
-