eloytoro
New Member
- Reaction score
- 4
I was trying yo imitate dota's dope walk ability, the trigger until now is this...
The only problem i have right now is: How do i specify that the illusion is the one to the position of the hero and not the dummy?
Code:
Dope Walk
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Dope Walk (4)
Actions
Unit - Create 1 Dummy for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
Hero - Create Wand of Illusion Dummy and give it to (Last created unit)
Hero - Order (Last created unit) to use (Last created item) on (Casting unit)
Unit - Turn collision for (Last created unit) Off
Unit - Move (Last created unit) instantly to (Position of (Casting unit)), facing (Facing of (Casting unit)) degrees
The only problem i have right now is: How do i specify that the illusion is the one to the position of the hero and not the dummy?