BIS fnc initSliderValue: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:\{\{Name\|arma3\}\}: [fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
m (Text replacement - "\{\{( *)Informative( *)\|" to "{{$1Feature$2|$2Informative$2|")
Line 7: Line 7:
|gr1= Eden Editor
|gr1= Eden Editor


| Initialises a slider attribute control within the [[Eden Editor]]. Can also be used outside of [[Eden Editor]]. {{Informative| The slider and the edit control have to share the same controls group!}}
| Initialises a slider attribute control within the [[Eden Editor]]. Can also be used outside of [[Eden Editor]]. {{Feature|Informative| The slider and the edit control have to share the same controls group!}}


| [ctrlSlider, ctrlEdit, unit, default] [[call]] [[BIS_fnc_initSliderValue]];
| [ctrlSlider, ctrlEdit, unit, default] [[call]] [[BIS_fnc_initSliderValue]];

Revision as of 00:59, 7 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Eden Editor

Syntax

Syntax:
Syntax needed
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:
Return value needed

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