SpawnChargeBomb (Harvest)

From OxeyeWiki

(Difference between revisions)
Jump to: navigation, search
(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
|
|
-
spawnBuilding(x, y[, progress])
+
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.

Harvest Library

Example

harvest.spawnChargeBomb(100, 100, 1.0)

Resources

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox