🏆 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!
It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!
How could I make an ability that targets an enemy unit and upon finishing casting, the target would not attack the caster?
Assuming caster is out of target's acquisition range.
When you say the target would not attack the caster, does that mean they are unable to attack the caster? (attack removed)? Or their agro doesn't go to the caster? Or if they try to attack the caster they are told to stop?
Use two triggers: one for when the Caster trigger the spell and the other for when you finish the activation of this spell when the caster finish trigger this spell (this last trigger mentioned), use a command to the target stop. I hope this answer has helped.
No need to have two triggers. Just one. You put a buff to the ability, then on DDS check if Damage Source has buff. Stopping it wont help. It would freeze the game.
Why? It will be ordered to attack that unit again and again. I suggest temporarily making the targets owner treat you as neutral.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.