cmf_viewdistance_fnc_keyDown
Jump to navigation
Jump to search
Description
- Description:
- This is an internal function of viewDistance. It handles increasing / decreasing the viewdistance by using a hotkey.
- 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:
- See also needed
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 + [