GetTerrainHeight

From Onset Developer Wiki
GetTerrainHeight

Type: Function
Context: Client
Introduced: v1.0

Description

Creates a linetrace from the given coordiantes facing downwards and returns the Z value of the first hit object.

Syntax

GetTerrainHeight(sX, sY, sZ)

Parameters

  • sX
    X float value
  • sY
    Y float value
  • sZ
    Z float value

Return Value

  • Returns Z value of first hit object, else returns false

Example

__EDIT_ME__

See also

__EDIT_ME__