Setup Melee Combo System | Enhanced Input

Your sword not swinging again is probably due to the notify not being setup right somewhere.

An easier way to do this would be to add a boolean to the character called “can attack?” or some such, and set it to false when you hit attack button. From that do a SwitchOnInt or just some select nodes from an integer variable named “combocount” or whatevs. Then play a montage, using a select node hooked up to the counter int, update the count, and set canattack to false.

My input action for attack fires this event after checking other suff.

Then in your montages, add a notify where the attack anim should finish. And in the event graph of teh anim bp for the char, have that notify even set canattack back to true.

comboend

Or use a short delay/timer during the input event somewhere to reset it. One benifit of using a timer or delay with input event is you can force it to reset on a “global cooldown” essentially in case an animation gets canceled somehow.