Page 1 of 1

[Command] findNearbyBuilding

Posted: Wed Nov 10, 2021 8:16 pm
by Raddeck
BuildingVariable.findNearbyBuilding(Type)


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)