Help with combo system

Hello everyone, I’m new to Unreal Engine 5, I’m making my game based on guides and I’m faced with a problem that doesn’t have a solution in the guide, I have two combo attacks, when the first combo attack is played, you can also launch the second one, but it breaks everything and after launching the second combo attack, the first one stops working. In general, I want when you attack with the first combo attack, the second one doesn’t work, and when you attack with the second one, the first one doesn’t work, guys, I’m a beginner, and if anyone can explain to me in detail how to do this, I’d be very grateful.


So I might be wrong but here’s what I see that’s off. The biggest thing, I think, is that AttackRM3 sets the index to 4 when I’m guessing it’s meant to be 3. That’s probably why your first combo is breaking. Also, I can’t find anything that would be triggering AttackComboRM or AttackComboLM. Is there more to this that you’re not showing? Like I can’t see how either of these two pictures interact with one another to prevent the other from activating. Either way, pretty sure if you change that 4 to a 3 it’ll not break.

I changed the index from 3 to 4, but it didn’t help. I just need to disable the first combo attack when the second one is working and the same thing is the other way around. This is the whole code of the combo attack, there is nothing else. I was looking for a solution to the problem, I didn’t find it, I tried using branch, but it didn’t help, maybe I don’t understand how to do it correctly, I tried to do delay, it also didn’t help. It’s just that when the first combo attack is cast, you can click on the button that is linked to the second combo attack, and when you click on the button of the second combo attack, the action of the first one is interrupted and the first combo attack breaks and stops working, in general, I need the second one to not work with the action of one combo attack.

Okay, I think I misunderstood how the game was breaking in your original post. So you want your RM attack to be disabled when you’ve started doing your LM combo and vice versa? If so, I don’t see anywhere in your LM combo where you set Can Attack RM to false. If you set that to false it should lock out that input action. Then just set it to true on the last or every one of the Play Montages coming off of the Completed node.