cmf_viewdistance_fnc_init

From cluster wiki
Revision as of 20:31, 17 December 2022 by Eric (talk | contribs) (Created page with "{{CMF Function |game1=arma3 |version1=0.50 |game2=cmf3 |version2=2.1.0 |descr=This function initializes the viewDistance component and loads in the player's previous viewDi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Hover & click on the images for description
Description
Description:
This function initializes the viewDistance component and loads in the player's previous viewDistance settings.
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:
[] call cmf_viewdistance_fnc_init
Return Value:
None
Examples
Example 1:
[] call cmf_viewdistance_fnc_init;
Additional Information
See also:
See also needed
Internal Variables
Locality Namespace Name Description
LOCAL Profile cmf_viewdistance_maxView Contains the max viewdistance (saved setting)
LOCAL Profile cmf_viewdistance_maxObj Contains the max object distance (saved setting)
LOCAL Profile cmf_viewdistance_footSyncMode sync mode when on foot (saved setting)
LOCAL Profile cmf_viewdistance_footSyncPercentage sync mode percentage on foot (saved setting)
LOCAL Profile cmf_viewdistance_carSyncMode sync mode when in car (saved setting)
LOCAL Profile cmf_viewdistance_carSyncPercentage sync mode percentage in car (saved setting)
LOCAL Profile cmf_viewdistance_airSyncMode sync mode when in air (saved setting)
LOCAL Profile cmf_viewdistance_airSyncPercentage sync mode percentage in air (saved setting)
LOCAL Profile cmf_viewdistance_foot viewdistance on foot (saved setting)
LOCAL Profile cmf_viewdistance_car viewdistance in car (saved setting)
LOCAL Profile cmf_viewdistance_air viewdistance in air (saved setting)
LOCAL Profile cmf_viewdistance_footObj Object distance on foot (saved setting)
LOCAL Profile cmf_viewdistance_carObj Object distance in car (saved setting)
LOCAL Profile cmf_viewdistance_airObj Object distance in air (saved setting)
LOCAL Profile cmf_viewdistance_footTerrain Terrain quality on foot (saved setting)
LOCAL Profile cmf_viewdistance_carTerrain Terrain quality in car (saved setting)
LOCAL Profile cmf_viewdistance_airTerrain Terrain quality in air (saved setting)
LOCAL Mission cmf_viewdistance_maxView Contains the max viewdistance
LOCAL Mission cmf_viewdistance_maxObj Contains the max object distance
LOCAL Mission cmf_viewdistance_footSyncMode sync mode when on foot
LOCAL Mission cmf_viewdistance_footSyncPercentage sync mode percentage on foot
LOCAL Mission cmf_viewdistance_carSyncMode sync mode when in car
LOCAL Mission cmf_viewdistance_carSyncPercentage sync mode percentage in car
LOCAL Mission cmf_viewdistance_airSyncMode sync mode when in air
LOCAL Mission cmf_viewdistance_airSyncPercentage sync mode percentage in air
LOCAL Mission cmf_viewdistance_foot viewdistance on foot
LOCAL Mission cmf_viewdistance_car viewdistance in car
LOCAL Mission cmf_viewdistance_air viewdistance in air
LOCAL Mission cmf_viewdistance_footObj Object distance on foot
LOCAL Mission cmf_viewdistance_carObj Object distance in car
LOCAL Mission cmf_viewdistance_airObj Object distance in air
LOCAL Mission cmf_viewdistance_footTerrain Terrain quality on foot
LOCAL Mission cmf_viewdistance_carTerrain Terrain quality in car
LOCAL Mission cmf_viewdistance_airTerrain Terrain quality in air
LOCAL Mission cmf_viewdistance_vehType Type of vehicle player is in currently
LOCAL Mission cmf_viewdistance_keyDown is true when a hotkey is pressed
LOCAL Mission cmf_viewdistance_hinthandle Contains script handle for increase / decrease hint
LOCAL Mission cmf_viewdistance_loadingDialog Is true when the settings dialog is loading
LOCAL Mission cmf_viewdistance_inUAV Is true when player is in UAV
Events
No events
Notes