BIS fnc initSliderValue: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.58 | |1.58 | ||
|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]]. {{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]]; | ||
|p1= ctrlSlider: [[Control]] - Slider control, usually the first control within the controls group | |p1= ctrlSlider: [[Control]] - Slider control, usually the first control within the controls group | ||
|p2= ctrlEdit: [[Control]] - Edit Box, usually the second control within the controls group | |p2= ctrlEdit: [[Control]] - Edit Box, usually the second control within the controls group | ||
|p3= unit: [[String]] - Measurement unit added behind the number within the edit box ("%" by default) | |p3= unit: [[String]] - Measurement unit added behind the number within the edit box ("%" by default) | ||
|p4= default: [[Number]] - When present, only the value is set, functionality is not initialized | |p4= default: [[Number]] - When present, only the value is set, functionality is not initialized | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>[_this [[controlsGroupCtrl]] 100, _this [[controlsGroupCtrl]] 101, "m", 50] [[call]] [[BIS_fnc_initSliderValue]];</code> | |x1= <code>[_this [[controlsGroupCtrl]] 100, _this [[controlsGroupCtrl]] 101, "m", 50] [[call]] [[BIS_fnc_initSliderValue]];</code> | ||
|[[Eden Editor: Configuring Attributes]] | |[[Eden Editor: Configuring Attributes]] | ||
}} | }} |
Revision as of 23:11, 17 January 2021
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