BIS fnc initSliderValue: Difference between revisions
Jump to navigation
Jump to search
m (fixed description and see also) |
m (Improve example) |
||
Line 20: | Line 20: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_this [[controlsGroupCtrl]] 100,_this [[controlsGroupCtrl]] 101, | |x1= <code>[_this [[controlsGroupCtrl]] 100, _this [[controlsGroupCtrl]] 101, "m", 50] [[call]] [[BIS_fnc_initSliderValue]];</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 00:08, 14 August 2020
Description
- Description:
- Iniitialises a slider attribute control within the Eden Editor.
- 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:
- Eden Editor: Configuring Attributes
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