I'm attempting to get an actor to move to the closest actor of a certain class
how about after "get all actor of class" you loop through the returned array, for each actor, get the distance between the pawn and the actor (location.pawn minus location.actor -> length), store that length as current shortest and store the index of that actor. Now the iteration continues, next actor, check if the distance is smaller, if yes, store the value as current shortest and the actor index as the target, if not, just move to next. After you have looped through the array, you have the distance and index of the closes actor. Not sure how often you plan on executing this and how many actor you have but it should work.
Follow this question
Once you sign in you will be able to subscribe for any updates here