is there a blueprint node for reading randome data only once?

Hi,

I’m trying to create questions that can be read randomly, but the same questions often come up twice in a row, and I’d like to know if there’s a node or technique to ensure that random data is read only once.

Here’s the blueprint I’ve made so far:

Thanks in advance for your responses.

get data table row names.
It returns all rows.
And then you can get a random one.

It works! Thank you!

1 Like

I just wanted to post that I misunderstood you.
you want to read a random row only once…?
If you need it here is my method:

1 Like

On BeginPlay save a copy of GetRowNames and shuffle that array. You can now pop values from that array or use an incrementing counter to get random rows only once.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.