Question system

So I’m still new to ue4 and blueprint scripting. But I was wanting to add system that when a button is pressed in a certain area, like a booth or something, a set of questions will show on the players screen and they can choose an answer, correct answer will open a door.

Is there a question? How well do you know UMG?

You have to create a widget and in the widget you create a button, then in the right bottom corner there will be green buttons, you’re going to want to choose ‘on clicked’ and so in the event tab of the widget, you will create the logic to show some text or questions, you also need to add these text items in the visual part of the widget. If you want the widget to show up, you need to create it in the level bp. You will use a boolean variable for the opening of the door.