This is an old revision of the document!
⇐ Index
Available in version 2.0 and later.
SetMeshHealth(<-cellX <-cellZ <-health)
Sets the mesh health value for a given cell.
See GetMeshHealth for the value ranges. Note that this does not create Mesh at a location if it does not exist. To create mesh where it does not exist (or remove it), use SetTerrainSpecial.
Applying this to cells without Mesh can create problems, such as creeper ignoring void height. Therefore it's best to only apply this function to cells that have Mesh.
SetTerrainSpecial(100 50 6) SetMeshHealth(100 50 1000000)
⇐ Index