you can make this check into a task in a behaviour tree and so that it checks it every tick or something like that to make sure it is always following closest player. You can also use tags. tags are amazingly powerful as you can get all of one type of blueprint and filter based upon the information in the tags.