Download

Attack in succession problem.

I have this blueprint. And when i try to play it, and then click the mouse button repeatedly the fighting animation is playing incorrectly. Even if i click repeatedly, i want the animations to be played one by one.

It’s happening because whenever you click LMB it will “just run” and as a result it tries to play 2 animations at once, meanwhile the last call continues to execute whatever code there is.
In order to prevent this you will have to put a branch ( and " IF " ) before the flipflop that would check a boolean, which dictates whether the character isn’t already attacking. If it’s false, then right after the branch set the boolean to TRUE, let it run and right at the end set it to FALSE. Then if you want the character to just ignore LMB input when it’s attacking, just leave the path from TRUE of the branch empty.