But that does not work because it goes forth and back between the two animations every frame. Thus the animation becomes jittery.
I could make a separate State for each animation but that would be absolute horror for the StateMachine (the amount of transition-arrows there would quickly accumulate to insane amounts). How is this best done?
If you need animations to happen with different intervals between them, you can set a random int on every tick and use a state machine to check the animation time remaining. You also can create an array of intervals ints, and use the AnimationNum variable as its index.