This works fine but if player moves away in meantime, the animation takes a while to finish.
Is it possible when player moves away, we tell “play montage” to just play until current animation finished?
Like if it was playing “attack melee B”, it will finish the animation then instead of playing “attack melee C” it would follow the player again.
Not only is it possible but it also has other applications other than stopping attack midway. It’s a suuuuper old tutorial but this should give you some insight.