GetAlien (Harvest)
From OxeyeWiki
(Difference between revisions)
166 MMX (Talk | contribs)
(Created page with '{{HarvestMethod | getAlien(id) | Fetches an alien, or nil if the alien doesn't exist. | {{MethodParam|id|Number|The id of the alien to retrieve the alien for.}} | Returns the ali...')
(Created page with '{{HarvestMethod | getAlien(id) | Fetches an alien, or nil if the alien doesn't exist. | {{MethodParam|id|Number|The id of the alien to retrieve the alien for.}} | Returns the ali...')
Latest revision as of 20:08, 2 December 2009
getAlien(id) | ||
Fetches an alien, or nil if the alien doesn't exist. | ||
Parameter | Expected Type | Description |
id | Number | The id of the alien to retrieve the alien for. |
Returns | ||
Returns the alien of a given id. |
Example
local alien = harvest.getAlien(id)