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?
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:
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.