• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Solved] Dopplewalk Trigger

Status
Not open for further replies.
Level 11
Joined
Jul 9, 2009
Messages
926
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
926
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
926
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