I am creating a trivia game in blueprints only that has two options as answers following the question. My question is How would I go about making the questions random and different each time you play. I want this to be my first full game and am still learning blueprints. Could someone please explain to me how to do this? Images, instructions are all welcome.
That’s a WHOLE load of question…
Bascially, you probably will want to load all the questions and answers from CSV to datatable:
And that data will need to end up in structures or arrays: Then the easy bit, you can just use a random integer to decide which question to ask ( RandomIntegerInRange ).Hello.
You could store the answers/questions in a data table :
You can load a random integer to get the relevant row:
You can store the displayed index in an array to check and ensure the same row doesn’t appear more than once.
I am new to this so I’m sure there could be better solution ![]()
Hope this helps.