BIS fnc zoomLockEH: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1 = Map and Markers |GROUP1=")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *P([a-gi-z ])" to "$1 - p$2")
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function


| arma3 |Game name=
|game1= arma3
|version1= 1.78


|1.78|Game version=
|eff= local


|gr1 = Map and Markers |GROUP1=
|gr1= Map and Markers


<!---|arg= local |Multiplayer Arguments=--->
|gr2= Event Handlers


<!---|eff= local |Multiplayer Effects=--->
|descr= Event handler function for locking the camera.


| <pre>/*
|s1= position call [[BIS_fnc_zoomLockEH]]
Author: Riccardo Argiolas


Description:
|p1= position: [[Position]] - position that the camera should focus
Event handler function for locking the camera


Parameters:
|r1=
Select 0 - ARRAY: position where the camera should be placed and locked


Returns:
|x1= <sqf>[position player] call BIS_fnc_zoomLockEH;</sqf>
None


Examples:
|seealso= [[BIS_fnc_zoomLock]] [[BIS_fnc_zoomUnlock]]
//format the code to run for the Event Handler
_codeString = format["[%1] call BIS_fnc_zoomLockEH;", _centerOfLock];
 
//start the draw EH
missionNamespace setVariable ["BIS_zoomLockHandle", _map ctrladdeventhandler ["draw", _codeString]];
*/</pre>{{placeholder}}<!-- Remove this after fill-in --> |Description=
 
|[] call [[BIS_fnc_zoomLockEH]]|Syntax=
 
|p1= parameter: Datatype - (Optional, default defValue) description |Parameter 1=
 
|Datatype - description|Return value=
 
|x1= <code></code>|Example 1=
 
|exec= call |Execution=
 
| |See also=
}}
}}
[[Category:Function Group: Map|{{uc:zoomLockEH}}]]
[[Category:Functions|{{uc:zoomLockEH}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:zoomLockEH}}]]

Latest revision as of 16:45, 8 November 2023

Hover & click on the images for description

Description

Description:
Event handler function for locking the camera.
Execution:
call
Groups:
Map and MarkersEvent Handlers

Syntax

Syntax:
position call BIS_fnc_zoomLockEH
Parameters:
position: Position - position that the camera should focus
Return Value:
Return value needed

Examples

Example 1:
[position player] call BIS_fnc_zoomLockEH;

Additional Information

See also:
BIS_fnc_zoomLock BIS_fnc_zoomUnlock

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