Foresector
Member
- Reaction score
- 16
I'm making this Ability called "Double team"
What it is supposed to do is that the hero targets a point and moves to it.
The catch is that it creates images around it which accompany the hero while it is moving to the point to prevent the hero from being damaged along the way.
I tried using channel, and using a trigger to give the hero mirror image and ordering it to mirror image, move and move the images but it never works.
Anyone got a solution or an alternate approach?
What it is supposed to do is that the hero targets a point and moves to it.
The catch is that it creates images around it which accompany the hero while it is moving to the point to prevent the hero from being damaged along the way.
I tried using channel, and using a trigger to give the hero mirror image and ordering it to mirror image, move and move the images but it never works.
Anyone got a solution or an alternate approach?
Code:
Double Team
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Double Team
Actions
Unit - Pause (Triggering unit)
Unit - Add Mirror Image to (Triggering unit)
Unit - Set level of Mirror Image for (Triggering unit) to 3
Unit - Unpause (Triggering unit)
Unit - Order (Triggering unit) to Orc Blademaster - Mirror Image
Unit - Remove Mirror Image from (Triggering unit)
Unit - Order (Triggering unit) to Move To (Target point of ability being cast)
Unit Group - Order (Units within 512.00 of (Position of (Triggering unit)) matching ((Picked player) Equal to (Owner of (Triggering unit)))) to Move To (Target point of ability being cast)