How do I replicate State Machine animations?

I know how to do it with Montages through character BP, but state machines seem a little bit more fuzzy.