How to set random item locations on a shelf?

I have made a blueprint with a shelf unit (static mesh)
I have added various boxes (Static Meshes) on the shelf.

What I am trying to do is have the order of the boxes randomized each time the map loads.
I have managed to build an array for all the boxes and all the locations (1 array for each)

The boxes all spawn, but every time I get a lot of boxes occupying the same space.

Thanks for any help in advance.

1 Like

It’s because that random node, can always use the same location more than once.

It does assume there are enough locations for the meshes…

Or, if you don’t want to type any data

1 Like

The top one works great for me.

Thank you for helping me

1 Like

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