{
systemChat str _x;
} forEach (nearestLocations [player, [], 10000]);
The above code doesn't do anything, not even throw an error message. It would be very useful if an empty array of location types would result in ALL locations being taken into account by <b><i>nearestLocations</i></b>, regardless of their type, just like it's done with <b><i>nearestObjects</i></b>.