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