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

Pacifism Help

Status
Not open for further replies.
Level 1
Joined
Mar 13, 2008
Messages
1
I searched to the best of my ability but could not find anything on this, so here goes.

I need to code a pacifism ability...something that disables a unit from attacking. I have so far got a trigger that says if a unit is attacked and the attacker has the pacisifm buff, the attacker just moves to the location of the attacked unit.

However I need a way to stop the pacified unit from auto-acquiring targets. Help plz.
 
Level 3
Joined
Feb 28, 2008
Messages
31
Base your ability off Silence (ACsi) and set 'Attacks Prevented' to whatever you want. (e.g. Melee, Ranged, add spells if you want...) And you can use an AOE for it as well. (If you don't want to, set it to 0 and use it as a dummyspell)
 
Level 3
Joined
Feb 28, 2008
Messages
31
um really...? Yeah Silence, Soul Burn and Cloud have the ability to disable any if not all abilities other than movement. I guess blizz was generous to give us three forms of attack/spell disables - one single target, one AOE, and one channeling AOE. Soul Burn also has those other useful fields for damage per second and speed modification.
 
Level 3
Joined
Feb 28, 2008
Messages
31
Ouch! I just went to add a soul burn based ability and realized that the prevent field isn't there! <opens mouth inserts foot>
 
Status
Not open for further replies.
Top