Get multiple random slices without duplicates

Hi,

I have a spread (list A) with 150 entries and I want to load 10 random entries (list B), each for a random duration. When the time is up, I want to load another random entry, but I don’t want to load it twice.

My idea is to remove all currently loaded entries from list A, shuffle it and use it as the source spread. But I fail here already at the deletion of 10 entries from list A.

Yes, use Shuffle for all items and then just load the first 10, then the next 10 and so on…

1 Like

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