GetBuilding (Harvest)

From OxeyeWiki

Jump to: navigation, search

getBuilding(id)

Fetches a building, or nil if the building doesn't exist.

Parameter Expected Type Description
id Number The id of the building to retrieve the building for.
Returns

Returns the building of a given id.

Harvest Library

Example

local building = harvest.getBuilding(id)

Resources

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox