BIS fnc initSliderValue: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 13: Line 13:
| [Slider, Edit box, Measurement unit, Default value] [[call]] [[BIS_fnc_initSliderValue]];
| [Slider, Edit box, Measurement unit, Default value] [[call]] [[BIS_fnc_initSliderValue]];


|p1= Slider [[Control]] - Slider control, usually the first control within the controls group |= Parameter 1
|p1= Slider [[Control]] - Slider control, usually the first control within the controls group |PARAMETER1=
|p2= Edit box [[Control]] - Edit Box, usually the second control within the controls group |= Parameter 2
|p2= Edit box [[Control]] - Edit Box, usually the second control within the controls group |PARAMETER2=
|p3= Measurement unit [[String]] - Measurement unit added behind the number within the edit box ("%" by default) |= Parameter 3
|p3= Measurement unit [[String]] - Measurement unit added behind the number within the edit box ("%" by default) |PARAMETER3=
|p4= Default Value [[Number]] - When present, only the value is set, functionality is not initialized |= Parameter 4
|p4= Default Value [[Number]] - When present, only the value is set, functionality is not initialized |PARAMETER4=


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code>_this [[controlsGroupCtrl]] 100,_this [[controlsGroupCtrl]] 101,'m',50] [[call]] [[BIS_fnc_initSliderValue]];</code> |= Example 1
|x1= <code>_this [[controlsGroupCtrl]] 100,_this [[controlsGroupCtrl]] 101,'m',50] [[call]] [[BIS_fnc_initSliderValue]];</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 14:30, 7 April 2019


Hover & click on the images for description

Description

Description:
Iniitialises a slider attribute control within the Eden Editor. See Eden Editor Attribute Configuration
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[Slider, Edit box, Measurement unit, Default value] call BIS_fnc_initSliderValue;
Parameters:
Slider Control - Slider control, usually the first control within the controls group
Edit box Control - Edit Box, usually the second control within the controls group
Measurement unit String - Measurement unit added behind the number within the edit box ("%" by default)
Default Value Number - When present, only the value is set, functionality is not initialized
Return Value:
Nothing

Examples

Example 1:
_this controlsGroupCtrl 100,_this controlsGroupCtrl 101,'m',50] call BIS_fnc_initSliderValue;

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section