How to find the biggest number in the variable with many instances in anoher actor

Lemme launch my PC real quick. I dunno why I didn’t do it from the start, it’ll be a lot more efficient this way. I’ll edit this post of mine in a minute.

Alright! It indeed looked a little off. So here’s how it should look like @primaldragon100:

Once the loop is over, the second element of our array (which you can get the way I did after the Completed pin) will be the largest speed value among them all, and will be chosen randomly if two are equal like you wanned.

I didn’t include that extra part yet btw, I’ll also add that in a minute.

Aight so you can add this at the beginning to prevent any errors related to access attempts to non-existing array elements:

Btw the explanation of extra part after listing all of the steps had a small mistake, so I corrected that in my initial post. But all of the numbered steps were correct. Also added an image of the whole thing to my initial post.

Hope this helps :innocent: