SpawnEagleMissile (Harvest)
From OxeyeWiki
(Difference between revisions)
166 MMX (Talk | contribs)
(Created page with '{{HarvestMethod | spawnEagleMissile(x, y[, alienId]) | Creates an eagle missile at (x, y) which will attempt to kill the alien with the given alien ID. If "alienId" is omitted or...')
(Created page with '{{HarvestMethod | spawnEagleMissile(x, y[, alienId]) | Creates an eagle missile at (x, y) which will attempt to kill the alien with the given alien ID. If "alienId" is omitted or...')
Latest revision as of 22:26, 2 December 2009
spawnEagleMissile(x, y[, alienId]) | ||
Creates an eagle missile at (x, y) which will attempt to kill the alien with the given alien ID. If "alienId" is omitted or negative, the eagle will attempt to find an alien using the current eagle priorities. | ||
Parameter | Expected Type | Description |
x | Number | The source x world coordinate. |
y | Number | The source y world coordinate. |
alien | Number | The target alien id. |
Returns | ||
Returns nothing. |
Example
harvest.spawnEagleMissile(0, 0, -1)