Difference between revisions of "cmf viewdistance fnc LBsetSyncMode"

From cluster wiki
Jump to navigation Jump to search
Line 7: Line 7:
|version2=2.1.0
|version2=2.1.0


|descr=This is an internal function of viewDistance. It changes the syncronization mode based on a listbox control.
|descr=This is an internal function of viewdistance. It changes the syncronization mode based on a listbox control.
{{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=[mode, variableString, textbox, slider, sliderTextbox] call [[cmf_viewdistance_fnc_LBsetSyncMode]]
|s1=[mode, variableString, textbox, slider, sliderTextbox] call [[cmf_viewdistance_fnc_LBsetSyncMode]]

Revision as of 21:07, 17 December 2022


Hover & click on the images for description
Description
Description:
This is an internal function of viewdistance. It changes the syncronization mode based on a listbox control.
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:
[mode, variableString, textbox, slider, sliderTextbox] call cmf_viewdistance_fnc_LBsetSyncMode
Parameters:
mode: Number - The syncronization mode to select
variableString: String - The variable to write to
textbox: Control - The textbox to write changes to
slider: Control - The slider to get the sync percentage from
sliderTextbox: Control - The slider textbox to write changes to
Return Value:
None
Examples
Example 1:
[1, "foot", _myTextCtrl, _mySliderCtrl, _mySliderTextCtrl] call cmf_viewdistance_fnc_LBsetSyncMode;
Additional Information
See also:
See also needed
Internal Variables
No internal variables
Events
No events
Notes