Thanks a lot mercuryus, I managed to get the logic and it seems like the more AI cars I have, the more conditions and checking i need to consider to get the player's position. I am now trying to code the whole thing and it was really a pain. crazy