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

[Spell] One Target Taunt

Status
Not open for further replies.
Level 4
Joined
May 21, 2015
Messages
70
can anyone help me with the idea of a taunt that can affect one enemy target and will focus attacking to you for 8 seconds?
how will I do it in GUI or JASS
 
Level 11
Joined
Jan 2, 2016
Messages
472
Code:
Event - Unit starts the effect on ability
Condition - Ability being cast equal to YourAbility
Action - t_unit = Unit being targeted
Order t_unit to attack casting unit

Something like this i guess, you could also give the targeted unit a debuff that lasts your 8 seconds
and keep ordering it to attack casting unit ,also check if debuff expired so your trigger stops.
 
Status
Not open for further replies.
Top