nearestLocation accepts currently only one locationClass at once. Would make certain searches more easy if it would also accept arrays.
WORKING:
_nearestCity = nearestLocation [player, "NameCity"];
NOT WORKING:
_nearestCity = nearestLocation [player, ["NameCity","NameVillage","NameCityCapital","NameCityLocal"]];