• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Solved] Dopplewalk Trigger

Status
Not open for further replies.
Level 11
Joined
Jul 9, 2009
Messages
927
Hello! does anyone know how to trigger a dummy unit to cast a wand of illusion (Item Illusions) on the triggering unit.

I have a base skill of windwalk and I have already made the dummy unit only problem is, I cant seem to find wand of illusions on the trigger tabs under units.

if anyone knows, please share your knowledge and thanks in advance :D

(For extra information, it is the Dopplewalk skill of Phantom Lancer in DOTA)
 
Level 11
Joined
Jul 9, 2009
Messages
927
I searched it in google and, it came up as that solution too
at first I did not get it right, but now that you have showed it again
I just forgot to change caster and target to the unit ID'S
so the code now looks like this
JASS:
call IssueTargetOrderById( GetLastCreatedUnit(), 852274, udg_DWCaster )

Thanks and +rep :)
 
Level 11
Joined
Jul 9, 2009
Messages
927
thanks for the additional information Maker, +rep :)

EDIT:
seems like bj_LastCreatedUnit does not work as the editor is expecting it as a name, either way, thanks :)
 
Status
Not open for further replies.
Top