GetSelectedBuilding (Harvest)
From OxeyeWiki
getSelectedBuilding() | ||
Returns the currently selected building, or nil if the player hasn't selected a building at the moment. | ||
Parameter | Expected Type | Description |
Returns | ||
Returns the selected building. |
Example
building = harvest.getSelectedBuilding(id)