USE:
Find a building near to another building that is of a certain type.
Used with setCurrentLocation()
TYPE: Command, Ref
RETURNS: Building
THEME:
COMPARE: MoveTo
EXAMPLE:
Code: Select all
Loc = findNearbyBuilding(restaurant)
moveTo(Loc)
Code: Select all
Loc = findNearbyBuilding(restaurant)
moveTo(Loc)