Hey,
This maybe be a stupid question but I’m trying to learn.
I have a list of spawned AI ships that I add to an array, now I want to right click on them and select them as the target. At the moment I can manually set the index target but I’ve no idea how to get its index in the array based on which one I click on.
Thanks in advanced