Difference between revisions of "cmf viewdistance fnc keyDown"

From cluster wiki
Jump to navigation Jump to search
(Created page with "{{CMF Function |game1=arma3 |version1=0.50 |game2=cmf3 |version2=2.1.0 |descr=This is an internal function of viewDistance. It handles increasing / decreasing the viewdista...")
 
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
|version2=2.1.0
|version2=2.1.0


|descr=This is an internal function of viewDistance. It handles increasing / decreasing the viewdistance by using a hotkey.
|descr=This is an internal function of viewdistance. It handles increasing / decreasing the viewdistance by using a hotkey.
{{CMF Feature|IMPORTANT|This is an internal function. This means that the function is called by another function and should not be called manually.}}
{{CMF Feature|IMPORTANT|This is an internal function. This means that the function is called by another function and should not be called manually.}}


|exec=Call
|exec=Call


|cmp=viewDistance
|cmp=viewdistance


|s1=[updateType] call [[cmf_viewdistance_fnc_keyDown]]
|s1=[updateType] call [[cmf_viewdistance_fnc_keyDown]]


|p1= mode: [https://community.bistudio.com/wiki/Number Number] - when zero the type is to decrease when set to 1 the type is to increase
|p1= mode: [https://community.bistudio.com/wiki/Number Number] - when 0 will decrease the viewdistance and when 1 will increase the viewdistance


|r1=None
|r1=None


|x1= {{code|lang=scilab|[0] call cmf_viewdistance_fnc_keyDown;}}
|x1= {{code|lang=scilab|[0] call cmf_viewdistance_fnc_keyDown;}}
|seealso= [[cmf_viewdistance_fnc_init]] [[cmf_viewdistance_fnc_keyDownTerrain]] [[cmf_viewdistance_fnc_LBsetSyncMode]] [[cmf_viewdistance_fnc_onEBinput]]
[[cmf_viewdistance_fnc_onEBterrainInput]] [[cmf_viewdistance_fnc_onLBSelChanged]] [[cmf_viewdistance_fnc_onSliderChange]] [[cmf_viewdistance_fnc_setInputSyncmode]]
[[cmf_viewdistance_fnc_updateSettings]] [[cmf_viewdistance_fnc_updateVehType]] [[cmf_viewdistance_fnc_openDialog]]
}}
}}
<dl class="command_description">
<dl class="command_description">

Latest revision as of 22:16, 17 December 2022


Hover & click on the images for description
Description
Description:
This is an internal function of viewdistance. It handles increasing / decreasing the viewdistance by using a hotkey.
This is an internal function. This means that the function is called by another function and should not be called manually.
Execution:
Call
Groups:
CMF3: viewdistance
Syntax
Syntax:
[updateType] call cmf_viewdistance_fnc_keyDown
Parameters:
mode: Number - when 0 will decrease the viewdistance and when 1 will increase the viewdistance
Return Value:
None
Examples
Example 1:
[0] call cmf_viewdistance_fnc_keyDown;
Additional Information
See also:
cmf_viewdistance_fnc_init cmf_viewdistance_fnc_keyDownTerrain cmf_viewdistance_fnc_LBsetSyncMode cmf_viewdistance_fnc_onEBinput cmf_viewdistance_fnc_onEBterrainInput cmf_viewdistance_fnc_onLBSelChanged cmf_viewdistance_fnc_onSliderChange cmf_viewdistance_fnc_setInputSyncmode cmf_viewdistance_fnc_updateSettings cmf_viewdistance_fnc_updateVehType cmf_viewdistance_fnc_openDialog
Internal Variables
No internal variables
Events
No events
Notes


Posted on December 17, 2022 - 21:38 (UTC+1)
Eric
This function is activated with configurable keybinds found in CBA: "Addon Keybinds" >> "CMF: viewdistance". By default increase is bound to CTRL + ] and decrease is bound to CTRL + [