UE5 how to make friendly AIs move to X location and takes spots around spot without picking same spot as another AI

image
here is example of what I mean, black is covers, blue is query location, green is picked spots. Maybe then this idea with other entity doing queries instead of AIs themselves might be the thing that would work.