I’m trying to create a custom menu for my server. I’ve read through other menus, PlayerController, the HUD file, etc. Quite a few things and I can’t figure out how to display a menu on key press. I can see where pause menu, inventory menu, etc is referenced but I can’t see where it says what key references it. I looked through the option menu as well and couldn’t find anything as far as where the remapping gets sent to.
Also, how does one use Game.ini to adjust mod files? Such as
ThatOneSetting = 2.0
Any help is greatly appreciated!
Answer: Create a copy of the PlayerController blueprint, and add it to your GameMode. Open it up and select Graph, then refer to the picture below. The name of the middle box doesn’t matter. I used the R key and the Inventory menu to test this, then I used my MainUI for the one that I want to have edited. In the Viewport, you’ll notice that it says “Target is UserWidget” - this WILL crash your Dev Kit. You need to reparent whatever widget you use TO PRIMALUI!
Here’s how to implement a timer:
Here’s how you can utilize a non-escape key to both open and close the menu:
I will look into the customization via .ini later on.