Does a "manual" animation stop running the state machine in the animation blueprint?

I have a monster that roams around and attacks players. It uses an animation blueprint with a state machine, switching between three states: 1. standing still not fighting, 2. standing still while fighting, and 3. moving.

When the monster attacks I’m playing an single animation manually with a Play Animation node. As soon as I do that, the state machine doesn’t work anymore, and the monster is stuck in state 2 forever (the last state in the state machine before attacking).

How do I make the state machine work again after that single animation?
I found a similar question where the “solution” was to integrate the attack animation in the state machine, but that would mean, that it won’t be played before the next animation update - correct?

I just wanted to add, that yes, obviously it does. And you can continue using your normal stat machine from your blueprint by calling “Set Animation Mode” on your skeletal mesh:

291153-capture.png

2 Likes