How to get skill button working?

Ok, so I have two ability menus that correspond to each shoulder button on the game pad. So when I hold either button down the corresponding menu appears, and on release they disappear. The problem I am running into now is that the hotkey ability slots wont work when I am pressing the corresponding game face button. My character is still using jump, roll, melee, and inspect which are the basic functions. But when I have the ability menu open I would like those functions to be over rode so I can use the same buttons for my abilities. Can anyone point me in the right direction?

If the ability menus correspond to different states, then you can set/unset a bool variable when you press/release the triggers. Modify your other action functions by adding a branch that checks if that variable is true/false, then, add the additional functionality based on that.