SpawnAlien (Harvest)

From OxeyeWiki

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