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?