Looping through an array of target points

I am trying to loop through an array of target points, shuffle them and then spawn a tree in each target point. Please find my blueprint attached

Any ideas on how to achieve this?

What you have there looks fine, apart from you need to connect the begin play to the shuffle…

This is not working (well / at all) for a several reasons:

  • you can’t shuffle contents of the Make Array node
  • the 9th index is null
  • shuffle is not even connected as mentioned in the comment above

To make it work, you’d need to store the result of Make Array in an additional array variable, shuffle that, and then do a For Each Loop.