• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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.
 

Uncle

Warcraft Moderator
Level 64
Joined
Aug 10, 2018
Messages
6,583
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.
Top