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

[Trigger] Change attack sound with a trigger

Status
Not open for further replies.
Level 9
Joined
Jul 30, 2018
Messages
445
Hey!

I have triggered my misses, because in my map all attacks cost mana. However, there is no way to detect a miss, so I use a DDS and then just prevent the damage when the miss should happen. This, though, has the problem that the attack still makes its attack sound. It's not a big deal, really, but I was just thinking if there some way to like disable the attack sound for that particular attack or something?

Or is the only way to make all units have no attack sound and then manually play the sound for each attack? That just seems quite a hassle, as I would have to check the attack sound type for each unit-type (like Heavy metal slice and Light Wood light bash etc) and then compare that to the attacked unit's armor type (like flesh, metal or rock)... If this is, after all, the only way, is there some handy way to make this comparing automatically, or at least somewhat more easier method than going through all the possible combinations individually?

Thanks in advance!
 
Status
Not open for further replies.
Top