How make blueprint quiz games?

hello can help me Iam work 5 Questions the answer of questions multiple choice if player or character near from somthing such as door show this question if answer all question open door and if dont answer three questions show gameover

This looks like nice start you can make better:

simplest setup: put your questions in a struct (question text, 4 answer strings, int for the correct one) and store them in a data table. on begin overlap of the door trigger, create the question widget and pull the first row into it. on each answer button: compare the clicked index against the correct one. right answer → add to a correct counter, wrong answer → add to a wrong counter. after each answer check the counters: correct == 5 → open the door (just disable its collision or animate it), wrong >= 3 → show a game over widget and restart. have the widget fire an event dispatcher or call into the door actor so the level logic stays out of the UI.

tip: shuffle the row names once at start if you want random order, and keep a “current row” variable so re-opening the widget continues where you left off instead of resetting to question 1.

btw if you want to see that whole loop wired up: Multiplayer Quiz Trivia Ultimate Game Template Kit, a quiz/trivia game template for Unreal Engine (all blueprint, every event commented) does datatable questions, correct/wrong counting and win/lose screens — easy to strip down to your 5 questions at the door: Multiplayer Quiz Trivia Ultimate Game Template Kit | Fab