SpawnMissile (Harvest)
From OxeyeWiki
(Difference between revisions)
166 MMX (Talk | contribs)
(Created page with '{{HarvestMethod | spawnMissile(x, y, tx, ty) | Creates a normal missile at (x, y) which will aim for (tx, ty). It doesn't check for range. | {{MethodParam|x|Number|The source x w...')
(Created page with '{{HarvestMethod | spawnMissile(x, y, tx, ty) | Creates a normal missile at (x, y) which will aim for (tx, ty). It doesn't check for range. | {{MethodParam|x|Number|The source x w...')
Latest revision as of 21:32, 2 December 2009
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. |
Example
harvest.spawnMissile(0, 0, 512, 512)