SpawnChargeBomb (Harvest)
From OxeyeWiki
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)