Jump to content

Spell/Melee Hit On Death SFX


Arkadus

Recommended Posts

Posted

Ive noticed that when the last hit on an enemy kills it, you dnt get a sound of the weapon striking the enemy. While this is also the case with spells, most of the time the spell makes its sound effect before the creature dies. Another point is with buffs like Mark of the Wild, sometimes it will finish its sound effect and sometimes it will cutout. Does anyone know what the deal with these sound effects are and how it can be reworked to sort this problem out?

Ive looked into it and put a sleep statement of 600ms in the DealDamage() sub routine just after the if(health < damage) and this fixes the melee damage on hit about 90% of the time. But the enemy obviously stays alive for half a second before it dies. Ive also noticed that even though no code in dealdamage() has been called to set the enemy as dead. If you put an IsDead() statement after the if(health < damage) statement if processes as true which seems bizzare to me. Anyone else have any further information on this would be greatly appreciated.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use