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

Disabling/enabling attacks from an unit

Status
Not open for further replies.
Level 1
Joined
Jul 5, 2011
Messages
2
Hello,

How can I disable one attack and enable another attack for a unit temporarily? Or alternatively force it to use the second attack over the first attack for a limited duration.

Thanks in advance.
 
I'm not sure it's posible since attacks refer to target types.
And in fact you can change the classification for targets in given situation but I doubt you look for this kind of solution since it's complicated.

Attacks can also be manipulated via upgrades (like tanks in war3 ladder gains additional one after reseaching volley).

However, upgrades can not be removed after they are finished and thus the change is permanent.
 
Level 5
Joined
Nov 7, 2007
Messages
134
Silence can be used if one attack is ranged and the other is melee, possibly you could also set Attack Type of one of the attacks to "Spells" and block it with Silence in that way, though that might affect the use of the attack in other ways too.
 
Status
Not open for further replies.
Top