GetSelectedBuilding (Harvest)

From OxeyeWiki

Jump to: navigation, search

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.

Harvest Library

Example

building = harvest.getSelectedBuilding(id)

Resources

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox