BIS fnc zoomLock: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<dl class="command_description"> <dd class="notedate">" to "<dl class="command_description"> <dt></dt> <dd class="notedate">")
m (Text replacement - " <!-- (DIS)?CONTINUE Notes -->" to "")
Line 27: Line 27:
[[Category:{{Name|arma3}}: Functions|{{uc:zoomLock}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:zoomLock}}]]


<!-- CONTINUE Notes -->
<dl class="command_description">
<dl class="command_description">
<dt></dt>
<dt></dt>
Line 36: Line 35:
</dd>
</dd>
</dl>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 01:49, 6 April 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Map and Markers

Syntax

Syntax:
Syntax needed
Parameters:
cameraCenter: Position2D - (default [0, 0]) position where the camera should be placed and locked
Return Value:
Return value needed

Examples

Example 1:
[[0, 0]] call BIS_fnc_zoomLock;

Additional Information

See also:
BIS_fnc_zoomUnlockBIS_fnc_zoomLockEH

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Posted on April 22, 2020 - 16:29 (UTC)
Poslovitch
On Arma 3 1.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.