• 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.

Auto Attack with Taunt

Level 2
Joined
Nov 27, 2017
Messages
10
Does anyone know how to make a simple trigger, where one's auto attack can make them go to the attacker instead (taunts). It does not have to be fancy such as the, silent thing or the uncontrollable taunt. I thought the (unit is attacked) to (issue an order of attack the unit) will work, but not.

Moreover, if auto attack would not work, what about buffs/debuffs instead, but not casted spells.
 
Level 45
Joined
Feb 27, 2007
Messages
5,578
  • Events
    • Unit - A unit is attacked //this event runs when the attack animation is initiated (and can still be canceled), not when the attack is launched/hits
  • Conditions
    • (Some condition to check that the correct unit is attacking or being attacked)
  • Actions
    • Unit - Order (Triggering unit) to Attack (Attacking Unit)
  • Events
    • Unit - A unit takes damage //event runs when damage actually occurs, not before when the animation starts
  • Conditions
    • (Some condition to check that the correct unit is attacking or being attacked)
    • (Damage from normal attack) equal to True
  • Actions
    • Unit - Order (Triggering unit) to Attack (Damage Source)
The bottom trigger is more resistant to player manipulation but relies on events and conditions that were only added to the game somewhat recently, so will not work on popular old patches like 1.26. In such a case you could use Damage Engine to achieve the same functionality.
 
Top