I’m having a tough time trying to figure this out.
I am trying to add my enemy actors to an array based on distance from the player. So the closest would be at index 0 and the next closest would be at 1 and so on.
Can someone show or explain to me how to do this? I am sure it’s something simple that I’m just not getting at the moment!