{"name":"getElevationOffset","operator":null,"title":"getElevationOffset","type":"command","url":"https://community.bistudio.com/wiki/getElevationOffset","revid":310776,"updated":"2022-05-07T20:21:45Z","groups":["Map"],"status":"ok","replaced_by":[],"games":[{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Returns the map elevation offset from [map]/config.cpp.\n\nReturns 0 if there is no elevationOffset defined in the config of the current world.","syntaxes":[{"syntax":"getElevationOffset","since":null,"effect":null,"exec":null,"params":[],"returns":{"type":"Number","types":["Number"],"description":"elevation offset of the map","text":"Number - elevation offset of the map"},"form":"nullary","operator":null,"left":null,"right":null}],"examples":[{"text":"```sqf\n_offset = getElevationOffset;\n```","code":["_offset = getElevationOffset;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["getTerrainHeightASL"],"notes":[],"categories":["Arma 2: Operation Arrowhead: New Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 3: Scripting Commands","Command Group: Map","Introduced with Arma 2: Operation Arrowhead version 1.50","Scripting Commands","Take On Helicopters: Scripting Commands"]}