BIS fnc initSliderValue: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision imported: BIS Functions update 7/7)
m (template:command argument fix)
(One intermediate revision by the same user not shown)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Iniitialises a slider attribute control within the Eden Editor. See [https://community.bistudio.com/wiki/Eden_Editor:_Configuring_Attributes#Configuration_2 Eden Editor Attribute Configuration] |= Description
| Iniitialises a slider attribute control within the Eden Editor. See [https://community.bistudio.com/wiki/Eden_Editor:_Configuring_Attributes#Configuration_2 Eden Editor Attribute Configuration] |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [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]] |= Return value
| [[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=
____________________________________________________________________________________________
____________________________________________________________________________________________


||= See also
||SEEALSO=


}}
}}

Revision as of 15: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