User Tools

Site Tools


4rpl:commands:setterrain

Index

SetTerrain

SetTerrain(<-cellX <-cellZ <-terrainHeight)

Description

Sets the integer height of the terrain at the specified integer map coordinates. A value of 0 means “void” or no terrain. A value less than 0 or greater than Max Height (20) will do nothing. Changing the terrain will cause the terrain to redraw and nearby units to recalculate line of sight and other data.

Examples

SetTerrain(42 23 5)

Index

4rpl/commands/setterrain.txt · Last modified: 2021/10/26 18:01 by Grabz