EQS: How to find the AI that is the closest to the player

yes :slight_smile: worth mentioning that the AIs get disabled at a certain radius too. I’m using the “Smart AI” asset, but this part is my own code added to it.