BIS fnc zoomLock: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[[cC]ategory:[fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "") |
m (Text replacement - " |exec= call " to " ") |
||
Line 20: | Line 20: | ||
|x1= <code><nowiki>[</nowiki>[0, 0]] [[call]] [[BIS_fnc_zoomLock]];</code> | |x1= <code><nowiki>[</nowiki>[0, 0]] [[call]] [[BIS_fnc_zoomLock]];</code> | ||
| [[BIS_fnc_zoomUnlock]], [[BIS_fnc_zoomLockEH]] | | [[BIS_fnc_zoomUnlock]], [[BIS_fnc_zoomLockEH]] |
Revision as of 15:40, 6 February 2021
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:
- See also needed
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.