BIS fnc zoomLock: Difference between revisions
Jump to navigation
Jump to search
Poslovitch (talk | contribs) (Added desc, examples, parameters, returns, see also) |
Poslovitch (talk | contribs) No edit summary |
||
Line 27: | Line 27: | ||
[[Category:Functions|{{uc:zoomLock}}]] | [[Category:Functions|{{uc:zoomLock}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:zoomLock}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:zoomLock}}]] | ||
<!-- CONTINUE Notes --> | |||
<dl class="command_description"> | |||
<dd class="notedate">Posted on April 22, 2020 - 16:29 (UTC)</dd> | |||
<dt class="note">[[User:Poslovitch|Poslovitch]]</dt> | |||
<dd class="note"> | |||
Closing the map after running this function '''does not unlock''' the map's camera. One must use [[BIS_fnc_zoomUnlock]] to get rid of the lock. | |||
</dd> | |||
</dl> | |||
<!-- DISCONTINUE Notes --> |
Revision as of 17:29, 22 April 2020
Description
- Description:
- Locks the camera in place when the map is open.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [cameraCenter] call BIS_fnc_zoomLock
- Parameters:
- cameraCenter: Position2D - (default [0, 0]) position where the camera should be placed and locked
- Return Value:
- Nothing
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
- Closing the map after running this function does not unlock the map's camera. One must use BIS_fnc_zoomUnlock to get rid of the lock.