BIS fnc initSliderValue: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
||
Line 17: | Line 17: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code>[_this controlsGroupCtrl 100, _this controlsGroupCtrl 101, "m", 50] | |x1= <code>[_this controlsGroupCtrl 100, _this controlsGroupCtrl 101, "m", 50] call [[BIS_fnc_initSliderValue]];</code> | ||
|seealso= [[Eden Editor: Configuring Attributes]] | |seealso= [[Eden Editor: Configuring Attributes]] | ||
}} | }} |
Revision as of 21:37, 12 July 2022
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