SpawnAlien (Harvest)
From OxeyeWiki
|
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. | ||
Example
harvest.spawnAlien(1, 512, 512)