Shuffle Datatable removes indexes?

Hey i wanted to shuffle my datatable containing questions so they wont be in the same order every time i start but using shuffle doesn’t seem to work? When i shuffle it some questions disappear.

i have my datatable as question 1,2,3,4,5,6,7,8,9,10 and i want the order to change each time start again so it will be 5,4,7,8,2,1,9,3,6,10,9 and so on.

Post a screenshot of your BP

There is quite alot but this is where i shuffle the array.

Here is where i go to the next question after an answer. i also tryed get random integer but then i could get the same question again and again.

You need to shuffle the Data Table Array you made not the output of the data table node (as far as I know it’s not possible to shuffle data table asset)

aren’t there any other ways to change the order in the array?
something with the random integer in range where i put the max in and get a random index between that and the max. i just need to figure out a way to sort out the ones i’ve already used so if it chose 5 it wont choose that index again.

You can manually shuffle it but you just have to shuffle the variable you made. Does that not work for you?

what variable?

with that setup i get the same question again and again.

Well… promote to variable once and then when you need it, shuffle. After the question has been selected you remove the index from the Data Table Array variable.

i did your exact setup it doesn’t seem to remove the index it might remove a index but not the right one because it makes it so i get the same questions more and more

Promote your data table to variable once
then you can shuffle it before every question if you like or right after you promote it to a variable. You can always select the index 0 from that array because you have shuffled it.

Like this? because i still get the same question again and again

ah i had to not do +1 to my current question index. thanks dude you’ve been a great help!