GetTerrainCliffLevel

Parameters
xreal

x-coordinate (World) of the point.

yreal

y-coordinate (World) of the point.

comment

Gets the cliff level at a point.

note

Walkable destructables add their effective cliff level to the terrain across their pathing maps, i.e., if the terrain at some point without destructables has a cliff height of a and the destructable covering that point has an effective cliff height of b, this function returns a + b. If there are multiple walkable destructables intersecting at the requested point, the function returns a + max(b1, b2, ...). If the declared cliff height of a destructable is negative, it will have an effective cliff height of 0.

patch

1.07

Source
common.j (raise an issue to discuss on Github or submit a PR)
return type
integer
Source code
native GetTerrainCliffLevel         takes real x, real y returns integer