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.