BIS fnc initSliderValue: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (improved formatting)
Line 9: Line 9:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Iniitialises a slider attribute control within the Eden Editor.|DESCRIPTION=
| Initialises a slider attribute control within the [[Eden Editor]]. Can also be used outside of [[Eden Editor]].|DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [Slider, Edit box, Measurement unit, Default value] [[call]] [[BIS_fnc_initSliderValue]];
| [ctrlSlider, ctrlEdit, unit, default] [[call]] [[BIS_fnc_initSliderValue]];


|p1= Slider [[Control]] - Slider control, usually the first control within the controls group |PARAMETER1=
|p1= ctrlSlider: [[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 |PARAMETER2=
|p2= ctrlEdit: [[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) |PARAMETER3=
|p3= 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 |PARAMETER4=
|p4= default: [[Number]] - When present, only the value is set, functionality is not initialized |PARAMETER4=


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

Revision as of 14:30, 28 October 2020

Hover & click on the images for description

Description

Description:
Initialises a slider attribute control within the Eden Editor. Can also be used outside of Eden Editor.
Execution:
call
Groups:
Eden Editor

Syntax

Syntax:
[ctrlSlider, ctrlEdit, unit, default] call BIS_fnc_initSliderValue;
Parameters:
ctrlSlider: Control - Slider control, usually the first control within the controls group
ctrlEdit: Control - Edit Box, usually the second control within the controls group
unit: String - Measurement unit added behind the number within the edit box ("%" by default)
default: 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

Notes

Bottom Section