SpawnEagleMissile (Harvest)

From OxeyeWiki

Jump to: navigation, search

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.

Harvest Library

Example

harvest.spawnEagleMissile(0, 0, -1)

Resources

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox