SpawnAlien (Harvest)

From OxeyeWiki

(Difference between revisions)
Jump to: navigation, search
166 MMX (Talk | contribs)
(Created page with '{{HarvestMethod | 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 wil...')

Latest revision as of 21:26, 2 December 2009

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