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

[General] How can I stop a unit from attacking via triggers?

Status
Not open for further replies.
I am trying to script a unit to enable/disable attack at certain intervals.
I also want to manipulate that unit's animation while it's not attacking
How can I disable this attack?
Thanks

PS: What I actually want to do is have an Abomination always perform an attack right after the normal attack. The first attack is a regular attack, but 1 second after, he performs a scripted attack on the ground (that could be dodged by moving away from there) that forces him into an animation (which has teaked speeds - slower build up and faster release), locks him in place and other things, but I'm interested in how to lock him in place so that he doesn't rotate toward a target.
 
Last edited:
Level 16
Joined
Mar 25, 2016
Messages
1,327
You can disable attack by adding the cargo hold (orc burrow) ability or using silence/drunken haze with disable attacks checked on the unit.
That orc burrow thing is better, because it cannot be dispelled. It works, because orc burrows can only attack while peons are loaded inside and because your unit has no load ability there is no way to load peons into them.
 
You can disable attack by adding the cargo hold (orc burrow) ability or using silence/drunken haze with disable attacks checked on the unit.
That orc burrow thing is better, because it cannot be dispelled. It works, because orc burrows can only attack while peons are loaded inside and because your unit has no load ability there is no way to load peons into them.
thanks, cargo hold worked!
 
Status
Not open for further replies.
Top