added support for going to the nearest player in the chase script