Arma 3 Scripting

Command in Map

getElevationOffset

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns the map elevation offset from [map]/config.cpp.

Returns 0 if there is no elevationOffset defined in the config of the current world.

Syntax

getElevationOffset

Returns: Number - elevation offset of the map

Examples

Example 1

_offset = getElevationOffset;

See also

getTerrainHeightASL