Is there a way to make the current anim montage playing non-interruptable? For example, when a character is punching no other animations can be played until the montage is finished.
Create a variable like “bIsNonInteruptAnimPlaing”, and set hit to true when u play punch anim, and check this var before play any anothe anim.
Is there an easier way to implement that so that I do not have to manually put this condition before all my montages?
Nope.
You’ll have to use it all on inputs as a condition as well.
e.g. Jump Input → bIsNonInteruptAnimPlaying NOT → Jump
ALL player inputs! Movement, Rotation etc.