GetTerrainHeight

From Onset Developer Wiki
Revision as of 16:44, 22 December 2019 by Justus (talk | contribs) (terriain heiught edit)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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__