How to delay only the first hit?

Hello! I asked this before but I’ll do it again! So I have this problem where in my “3 piece combo” the player can just spam [Left Mouse Button] and the animations will overlap (cancel out the previous one and instantly begin the next)

TLDR: I’d want the first hit to come out when I click [Left Mouse Button] but the second and third to have a delay between them.

Any tips are appreciated! Or If there’s another way to do this.

(Not sure if this picture helps but I’ll send nontheless)

maybe some help in this thread

I checked it out and it was outdated, I decided to make it into a “2 piece” combo instead, as it would probably be easier + fits for the “quick attack” idea. Now I have this problem where:

  1. The attack animations don’t go together well (After first swing, it takes a second to do another one)
  2. It actually never “resets” the “Flip Flop” so if I swing once, the second time I swing it plays the second swing animation instead of beginning from the first one again. (Tried to do this myself so code is definitely faulty, any tips would be a huge help!)

flip flop is the culprit here, it just toggles forever and has no idea when your combo ended, so the next swing starts on B. thats normal for that node, its not made for combos.

the simple pattern is an integer combo index instead. on click, play montage by index 0 or 1, then set timer by event for the reset window. if another click lands before the timer fires, increment index and clear the timer. when the timer fires, reset index to 0. also use a boolean isattacking with do once so spam clicks during a swing dont overlap, and reset it from the montage end event or an anim notify.

that way first click always starts at 0 after a pause, and fast clicks walk 0 then 1 without overlapping.