IsAlienAvailable (Harvest)

From OxeyeWiki

Revision as of 19:14, 2 December 2009 by 166 MMX (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

isAlienAvailable(alien)

Checks whether a certian alien type is available on the current planet. The alien variable is a number between 1 and 9.

Parameter Expected Type Description
alien Number The alien id.
Returns

Returns a Boolean value weather the alien is available or not.

Harvest Library

Example

if harvest.isAlienAvailable(4) then
   print("Summoners occur on this planet.")
end

Resources

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox