Deactivate Anim State Machine on Death

Hi,

Can you deactivate an animation BP state machine? It causes problems when enemies die. Some enemy animations have notifies on them that keeps firing after death.

I notice the state machine stops updating when mesh is deactivated, but I need the mesh active while the enemy ragdolls. Any other way to turn it off?
An alternative way is to have a death state, but that would add a lot of extra connections and I’m hoping for a cleaner solution.

Can’t you just add a new state machine with “alive” and “dead” and put the old state machine in the alive state?

Good idea, didn’t know you could have state machines inside each other. That seems to work. Thank you :slight_smile: