ABP state play only once

I have an ABP with a IDLE / MOVE state

I have an external value that I set to trigger the BRACE animation.
I only want the BRACE animation to play after the MOVE animation has completed, and once its played never play the BRACE again.

Is there a play once function or something that can be connected to the transition rules so it won’t play again?

And how can I ensure that the current move animation completes before the BRACE Plays?

Thank you for any help

Click on the circle with two way arrow icon on it, navigate to the details panel while it’s selected, and enable the automatic rule based transition.

This way the transition will occur when the animation’s completed.


As for the second part of your question:

I assume what you mean by never is “don’t loop” instead of “skip the state the next time the state before that is played and completed”. To achieve that, you can simply open up your animation asset that you connected to the out pose of your state, navigate to the Asset Details window on the top left (if it’s not already open, you can open it from the Window menu), and uncheck the checkbox next to Loop.

However, if you only want to play an animation a single time and never again, it doesn’t belong in the anim graph. The ideal way for that task would be playing an anim montage.

If your objective is not actually disabling a state forever, and also it’s not about non-looping animations, but rather having a state play depending on certain conditions, you can use a Conduit in your anim graph! Here’s the documentation for it. A conduit lets you direct the execution flow of the anim graph. You can create a transition from the conduit to your state, and another transition from the conduit to the next state that the first one will transition to. That way, you can “skip” the state when the conditions meet.

Hope these help :innocent: