I’am trying top amke a widegt meni (In Game menu) to toggle on and off by pressing P, Esc etc… and my widget do have a resum button.
When i open the menu and press resume, then I need to press p 2 time to open the menu.
can someone help me?
link to video:
link text
Hey there, i got this working by putting the toggle input event in the player controller instead of the character.
can you send a scrennshot?
I’m using c++, but the idea is to create your own player controller and handle the P key there instead of the character.
I do use the player controller, but I can’t get the widget to tell the third person blueprint that the menu is off so the Flip Flop will turn the menu off because it believe that the widget is on
You dont need to use c++, it can be done because i do it in my game, the TAB key toggles the inventory menu on and off.
I do use the player character, but How can I tell the playerr character that I pressed resume and closed the widget?
when I press P, it work. But when I press P to open the menu and click on a button to remove the widget, the player controller don’t get that and believe that the menu is open
can you tell me how I can set the widget to tell the player controller that the menu is closed?
did you see the video?
If you are pausing the game then you need to make sure that the input executes when paused flag is turned on.
I do find out how to do it
Select the input action node and on the details panel it says Executes On Paused. Check this.