Combining two Enhanced Input Actions for one Function

I’m working on a selection rectangle for my rts characters and want to have multiple use cases for the LMB when combined with different keybinds. Currently, the branch functions are most definitely incorrect, as pressing either one of the keys triggers the action without the other. I have tried using a separate input action combo trigger in the IMC but it does not function how I wanted.

The selection rectangle works perfectly fine when plugging in one input, so the main issue I’m having is combining the two.

create bool variables and manipulate hims on IA_Comboselecte_B, IA_Comboselecte_C etc.

in IA_Comboselecte_A use branches and check bool variables.

1 Like

This is sending me in the right direction, but I’m having a new problem now.
Both IAs have to be pressed for only the first instance, after that, ComboSelect_A is able to activate the input without ComboSelect_B.

Thanks for the reply!

your node logic implies that both input events called at the same time. try make IA_ComboSelect_B write variable, IA_ComboSelect_A read variable with get node.

1 Like

Thanks! Here’s the ugly mess that worked. Still needs more tweaking, but it works.