• 🏆 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!

Creating a clone when attacking

Status
Not open for further replies.
Level 12
Joined
Jan 13, 2008
Messages
559
Hello,

I would like to create a clone of my hero when he attacks units. I created a dummy unit, with the clone ability and set its order activate string to entanglingroots (i tried others aswell). When attacking, the dummy gets spawned and ordered to cast entanglingroots on the attacking unit but it won't~

how can I make this work? I checked the dummy and it does have the ability, and the ability works if I use i manually..

thank you !
 
Level 10
Joined
Sep 16, 2016
Messages
269
Actually changing that order won't work. You can only add the wand of illusion ability to dummy unit and call this customscript:
  • Custom script: call IssueTargetOrderById(whichCaster, 852274, whichTarget)
I used to have a similar spell here.
 
Status
Not open for further replies.
Top