GetBuilding (Harvest)

From OxeyeWiki

Revision as of 20:06, 2 December 2009 by 166 MMX (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

building = harvest.getBuilding(id)

Resources

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox