- 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!
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!