User Tools

Site Tools


4rpl:commands:setmeshhealth

Index

:!: Available in version 2.0 and later.

SetMeshHealth

SetMeshHealth(<-cellX <-cellZ <-health)

Description

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.

Examples

SetTerrainSpecial(100 50 6)
SetMeshHealth(100 50 1000000)

Index

4rpl/commands/setmeshhealth.txt · Last modified: 2023/06/20 16:12 by Kalli