{SOLVED}Stop event any damage from looping death animation

anonymous_user_af3bcfeb
Sat, 06 Jun 2020 16:21:56 +0000
Character & Animation

I followed a tutorial on and was able to get my NPC AI to die.

I did some other modifications to fit my needs and using some montage animations for getting hit and attacking using Behavior tree

However every-time I shoot it with my gun using line trace and apply damage, the event any damage keeps re-triggering the death animation.

I have detached from controller, destroyed capsule component used do once.

I even separated the death animation using a Bool of isDead and set the death section into its own function that gets called if enemyhealth <.1 (to ensure any decimal damage doesn’t keep him alive

here is my setup:

What am I doing wrong?

SOLUTION:
I added a stop logic when health goes under .1 and selected the brain controller for the AI

1 post - 1 participant