GetTerrainHeight

Revision as of 12:50, 7 January 2012 by imported>8asrun6aer (Created page with "{{Function | origin = OBSE | summary = Returns the height of the terrain mesh at the specified x and y coordinates within the current exterior worldspace. X and Y are worlds...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(height:float) GetTerrainHeight x:float y:float

Returns the height of the terrain mesh at the specified x and y coordinates within the current exterior worldspace. X and Y are worldspace coordinates (e.g. as returned by GetPos). If the coordinates are outside of any loaded cells, returns 0.0. Note that this command does not check for collision with surfaces other than terrain.


See Also