SOLVED
**Please read everything and follow the images from both sets in order to make this work. You can add functionality to the buttons by setting variables so that the system will know when a button is selected and then checking that variable in order to move forward with whatever you want them all to do. **
I’m working on a system that would allow me to have gamepad support on my Title Menu.
I have a Widget for my Background and the Normal State of the buttons,
and then I have separate widgets for each of the button’s Active State.
In my Level Blueprint I add the Title Screen to the Viewport and add the first Active Button Widget (So the player would have New Game Selected by default)
Then right below it I make it so that when the Player presses Down, it uses a multigate that is then connected to playing the sound of the button changes, and then I call different functions that adds the different Active Widgets to the screen.
Now here’s my Problem.
How can I create different functions that would remove the active state widgets from the Viewport?
The problem seems to be that I am unable to reference the different widgets that are created in order to remove them. I feel like I am on the borderline of making this fully functional, so I would really appreciate any advice!
I will share the information with everyone because Gamepad driven UMG seems to not be possible and a lot of people are posting about it and no solid answers seems to come up. Gamepad support for umg is very heavily needed for 90% of my game.
SOLVED HERE’S HOW TO USE GAMEPAD SUPPORT WITH A UMG TITLE SCREEN
Follow my above instructions, but when you create the widgets, you will need to promote to variable first. Here are the screens of the blueprints that made it work for me:
Remember to make new Blueprint Widgets for all of the Buttons with those button’s selected graphic in the normal state.
Please let me know if there’s a better way to do this, improvements, ets. Please don’t be too harsh, I just wanted to share this with all the people who seem to post about this and never seem to find the right answers.