GetTerrainHeight

From Onset Developer Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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__