SpawnMissile (Harvest)

From OxeyeWiki

Jump to: navigation, search

spawnMissile(x, y, tx, ty)

Creates a normal missile at (x, y) which will aim for (tx, ty). It doesn't check for range.

Parameter Expected Type Description
x Number The source x world coordinate.
y Number The source y world coordinate.
tx Number The target x world coordinate.
ty Number The target y world coordinate.
Returns

Returns nothing.

Harvest Library

Example

harvest.spawnMissile(0, 0, 512, 512)

Resources

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox