• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Order Dummy unit to attack when the caster attacks

Status
Not open for further replies.
Level 3
Joined
Nov 2, 2020
Messages
28
Hello guys i need some help on creating a trigger spell. This spell creates a dummy unit that attacks only when the casting unit attack, also the dummy follows the caster everytime.
But i dont know how to do it :(
Any help would be appreciating thnx.
 
There is no generic unit Event for A unit takes damage in GUI. You can only do that for Specific Unit Events which is obviously an issue.

What you can do is use a Damage Engine to gain access to generic damage events -> Damage Engine 5.7.1.2

Or use the Attacked event. The problem here is that the Event runs when the attack starts, prior to it dealing damage, thus it can be interrupted and the Event will still go off:
  • Unit - A unit Is attacked
 
Status
Not open for further replies.
Back
Top