SpawnAlien (Harvest)

From OxeyeWiki

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

spawnAlien(type, x, y)

Spawns an alien of the specified type at the specified world coordinates. If the alien doesn't occur on the current planet the call will do nothing.

Parameter Expected Type Description
type Number The alien type to spawn.
x Number The x world coordinate.
y Number The y world coordinate.
Returns

Returns nothing.

Harvest Library

Example

harvest.spawnAlien(1, 512, 512)

Resources

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox