getTerrainHeightASL

From Bohemia Interactive Community
Revision as of 07:52, 4 April 2014 by Dr StrangePete (talk | contribs) (removed note - commands for that exist; (see also))
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns the terrain height above the sea for the given position.
Groups:
Uncategorised

Syntax

Syntax:
getTerrainHeightASL position
Parameters:
position: Position2D
Return Value:
Number

Examples

Example 1:
_height = getTerrainHeightASL (position player);
Example 2:
_height = getTerrainHeightASL [5213,3245];

Additional Information

See also:
setPosASLgetPosASLgetPosATLASLToATLATLToASL

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Notes

Bottom Section