• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[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:
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.
Back
Top