SpawnChargeBomb (Harvest)
From OxeyeWiki
(Difference between revisions)
(Created page with '{{HarvestMethod | spawnBuilding(x, y[, progress]) | Places a charge bomb in the world, with the given progress (default is 0). If the progress is 1.0, it will detonate immediatel...') |
|||
| Line 1: | Line 1: | ||
{{HarvestMethod | {{HarvestMethod | ||
| | | | ||
| - | + | spawnChargeBomb(x, y[, progress]) | |
| | | | ||
Places a charge bomb in the world, with the given progress (default is 0). If the progress is 1.0, it will detonate immediately. | Places a charge bomb in the world, with the given progress (default is 0). If the progress is 1.0, it will detonate immediately. | ||
Latest revision as of 21:32, 2 December 2009
|
spawnChargeBomb(x, y[, progress]) | ||
|
Places a charge bomb in the world, with the given progress (default is 0). If the progress is 1.0, it will detonate immediately. | ||
| Parameter | Expected Type | Description |
| x | Number | The x world coordinate. |
| y | Number | The y world coordinate. |
| progress | Number | The progress in percent from 0 to 1. |
| Returns | ||
|
Returns nothing. | ||
Example
harvest.spawnChargeBomb(100, 100, 1.0)