Arma 3 Scripting

Function in Map and Markers

BIS_fnc_zoomLock

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

Description

Locks the camera in place when the map is open.

Syntax

[cameraCenter] call BIS_fnc_zoomLock

Parameters:

Returns: Nothing

Examples

Example 1

[[0, 0]] call BIS_fnc_zoomLock;

See also

BIS_fnc_zoomUnlock · BIS_fnc_zoomLockEH

Community notes

Poslovitch

In Arma 3 v1.98.146303, closing the map after running this function does not unlock the map's camera. One must use BIS_fnc_zoomUnlock to allow the player to move the camera again.