Remove random integer in range from index once used

One tweak you’d want to make is to get the length of the array -1. If there are 10 actors in your array, UE4 sets them at indices 0 - 9 but the length of the array is still 10. So if you get the length you’re going to be setting your max to 10 on the random integer when it should be 9 as there is no index 10.