getTerrainHeightASL: Difference between revisions
Lou Montana (talk | contribs) m (Undo revision 336253 by Lou Montana (talk)) Tag: Undo |
BrettMayson (talk | contribs) No edit summary |
||
| Line 16: | Line 16: | ||
|s1= [[getTerrainHeightASL]] position | |s1= [[getTerrainHeightASL]] position | ||
|p1= position: [[Array]] | |p1= position: [[Array]] format [[Position#Introduction|Position2D]] or [[Position#Introduction|Position3D]] (in which case the Z value is ignored) | ||
|r1= [[Number]] | |r1= [[Number]] | ||
Revision as of 07:36, 2 January 2026
Description
- Description:
- Returns the terrain height above the sea for the given position.
- Groups:
- Positions
Syntax
- Syntax:
- getTerrainHeightASL position
- Parameters:
- position: Array format Position2D or Position3D (in which case the Z value is ignored)
- Return Value:
- Number
Examples
- Example 1:
- Example 2:
- Example 3:
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note