Arma 3 Scripting

BIS_fnc_zoomOnArea

  • Arma 3 v1.78

Function · Markdown · JSON · original wiki page

Description

Map will zoom on the given area. Function always takes the longer side of the area to zoom on.

Syntax

[area, center, time, handler, forceCam] call BIS_fnc_zoomOnArea

Parameters:

Returns: Number - zoom level

Examples

Example 1

openMap true;
[markerSize "BIS_areaMarker", markerPos "BIS_areaMarker", 5] call BIS_fnc_zoomOnArea;

See also

BIS_fnc_zoomLock · BIS_fnc_zoomUnlock