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

[Inquiry]How to let the allies(computer) creep attack the Hero who attack ur hero?

Status
Not open for further replies.
Level 11
Joined
Oct 20, 2007
Messages
342
same as title~
How to let the allies(computer) creeps attack the Hero who attacking ur hero in a radius~?

i mean the easiest way~ like adding what ability?

can do it without trigger or simplest trigger?
 
Level 28
Joined
Jun 4, 2007
Messages
1,479
The most simple trigger i can come up with

Event:
A unit is attacked

Condition:
Attacking unit is A Hero Equal to True (Boolean Comparsion)

Actions:
-Add Taunt to attacking unit (add abillity)
-Order attacking unit to Night Elf - Mountain Giant - Taunt (Issue order with no target)
-Wait 1 second
-Remove Taunt from attacking unit (remove abillity)

If you don't add the wait action the unit won't have time to use the spell before you remove it.
If you have any more problems with this you could PM me (if you'd like).
 
Status
Not open for further replies.
Top