ArcBasicDocs

ModifyTerrain

Sets the height at a grid point.

ModifyTerrain ( terrain,grid_x,grid_z,height#[,realtime] )

Parameters

terrain
the terrain's handle.
grid_x
the point across, from 0 to TerrainSize.
grid_z
the point in depth.
height#
the height, from 0 to 1.
realtime (optional)
accepted for older programs; changes always show straight away.

Description

Sets the height at a point of a terrain's grid. The terrain changes straight away, so it can be dug, raised or rippled while the game runs.

See also