This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
4rpl:commands:setmeshhealth [2023/06/20 20:12] – [Description] Kalli | 4rpl:commands:setmeshhealth [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 10: | Line 10: | ||
See [[GetMeshHealth]] for the value ranges. Note that this does not create Mesh at a location if it does not exist. | See [[GetMeshHealth]] for the value ranges. Note that this does not create Mesh at a location if it does not exist. | ||
- | 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. | + | 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. \\ |
+ | :!: __Bug__: If you do this to cells without mesh, "mesh health" | ||
+ | However, it will completely disappear once that cell has been damaged by [[DamageMesh]] API or vanilla units. \\ | ||
+ | |||
+ | :NOTE: \\ | ||
+ | Cannon and Mortar both deal 0.52 mesh damage, which translates to 520000 for this API. \\ | ||
+ | So [Mesh Health] - [Cannon/ | ||
===== Examples ===== | ===== Examples ===== | ||
<code 4rpl> | <code 4rpl> |