I would like to know how to stop an animation at a random point. For example, i am trying to do a combat AI and if you kill one of them while they are doing the attack animation, they wont do the death animation, what they do is finish the attack animation and then they just get static and dont do anything. So what I want to do is if you kill one of them while he is doing his attack animation is to stop the attack animation and instantly play the death animation.
Sounds like your state machine has some bad entry and exit settings.
it would probably be enough to allow the transition to the death state from the attack animation - if you are using montages it’s a bit different, but you haven’t specified.