public static float LokiPoe.ClientFunctions.GetHeightAt(int x, int y)
Returns the current area's terrain height at grid coordinates, including cell zero.
floatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Parameters
x- Parameter type:
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Specifies x.
y- Parameter type:
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Specifies y.
Returns: The float result.
DPB2 0.4.5.91 rejects invalid terrain coordinates with ArgumentOutOfRangeException and unavailable or changed-area terrain with InvalidOperationException. For coordinate conversions this applies when checkZ is true. Abort the pending action on failure; do not catch and continue with a click or key press. Discard saved targets when changing areas and reacquire them before a later attempt.