Damaging Ai and Damage Animation

Hello everyone,

I have 2 questions that are related to attacking NPCs:
1-How do I add a hit animation to an NPC when it gets hit or a death animation to it after it dies and before the actor is destroyed.

2-In the image below, I managed to hit and kill my NPC but ONLY IF it starts running towards me, Now, I know that it is because the health script but I don’t where else to plug it to since that is the only “slot” available to me". When I hit an enemy from behind “which doesnt see me” the character seems to get damaged by it doesnt “die” unless it sees me, once it sees me it explodes.

I am having this EXACT issue. I can only damage MOVING enemy AI! If they are stationary, no damage is recorded?

I made my own collision channels to avoid damaging myself, so I fixed the whole “When i hit enemy i suddenly start taking damage too” issue.

Really hope we can get some answers on this as it’s becoming a real roadblock for me as well.