Returns an array of locations of the chosen type(s) within the given radius of the given position, sorted from nearest to farthest.
position is an array in the format
Position.
[locationType,...] is an array of location name strings.
radius is the distance from
position from which to search.
_nearLocs = nearestLocations [getPos player, ["NameMarine","ViewPoint"], 300]