Difference between revisions of "cmf viewdistance fnc init"
Jump to navigation
Jump to search
(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...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 7: | Line 7: | ||
|version2=2.1.0 | |version2=2.1.0 | ||
|descr=This function initializes the | |descr=This function initializes the viewdistance component and loads in the player's previous viewdistance settings. | ||
{{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= | |cmp=viewdistance | ||
|s1=[] call [[cmf_viewdistance_fnc_init]] | |s1=[] call [[cmf_viewdistance_fnc_init]] | ||
Line 19: | Line 19: | ||
|x1= {{code|lang=scilab|[] call cmf_viewdistance_fnc_init;}} | |x1= {{code|lang=scilab|[] call cmf_viewdistance_fnc_init;}} | ||
|seealso= [[cmf_viewdistance_fnc_keyDown]] [[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]] | |||
|var1= {{!}} LOCAL {{!}}{{!}} Profile {{!}}{{!}} cmf_viewdistance_maxView {{!}}{{!}} Contains the max viewdistance (saved setting) | |var1= {{!}} LOCAL {{!}}{{!}} Profile {{!}}{{!}} cmf_viewdistance_maxView {{!}}{{!}} Contains the max viewdistance (saved setting) |
Latest revision as of 22:15, 17 December 2022
Description
- Description:
- This function initializes the viewdistance component and loads in the player's previous viewdistance settings.
- 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:
- cmf_viewdistance_fnc_keyDown 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
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