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

Should I be running the custom event off of something like begin play then or do you suggest something else?