Triggering a Menu Anchor
So I'm working on creating the main menu of a 2D platform game. I have a menu anchor on the main menu widget blueprint, and am able to get it to load a World widget blueprint. From the World widget I have it populating the world list in another widget. All that works perfectly OK.
Where I'm having an issue, is that when I select the desired world, I'm trying to get the menu anchor on the main menu to remove the world widget and load the level widget, which will populate all the levels for the selected world.
I'm able to get the world widget to close, but cannot get the level widget to appear. Is there something I'm missing to allow the menu anchor to open up again?
asked Feb 09 '18 at 04:12 AM in Blueprint Scripting
I was able to finally get this to work! What I had to do was the following:
1. Create a new Widget, I called it Menu Anchor
2. Update the My Character Blueprint
3. Call your Function.
The last step now is just to call the function. For each Widget you'd like to use it in, you simply set the Event Construct to cast to My Character. Then you simply set the On Button Click (or whatever Event you'd like to use)
Hope this helps someone else, and if anyone has any other ideas I'd love to try them!
answered Feb 10 '18 at 04:29 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here