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

Can you do this...

Status
Not open for further replies.
Level 31
Joined
Feb 23, 2008
Messages
1,711
So I'm wondering if its possible to base wether a unit misses another unit on what animation is currently playing.

So for instance, if you have a model of a trooper ducking behind a piece of cover, and every time the trooper pops up to attack, it can be hit. But, while it's behind cover, (not playing the attack animation) all the incoming fire is a miss.

I don't want the units to not be able to fire at the ducking unit, I just want them to miss when the covering unit is not playing the attack animation.

So is this possible with triggers or code or something?
 
ScreenHunter_03Nov111752.gif
 
Status
Not open for further replies.
Top