Colobot Wiki
Advertisement

Syntax:

topo ( position );

Returns the altitude of the ground at a give position. The altitude zero corresponds to sea level. A negative value indicates that at this position ground is covered with water

position: point[]

Coordinates of the position whose altitude you want to know. 

Return value: float[]

Altitude of the ground at the given position.

Advertisement