SpawnMissile (Harvest)

From OxeyeWiki

Revision as of 21:32, 2 December 2009 by 166 MMX (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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