Difference between revisions of "BIS fnc initSliderValue"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision imported: BIS Functions update 7/7)
m (Improve example)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
+
{{Function|Comments=
{{Function|= Comments
 
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| arma3 |= Game name
+
| arma3 |Game name=
  
|1.58|= Game version
+
|1.58|Game version=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| 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.|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
+
|[[Eden Editor: Configuring Attributes]]|SEEALSO=
  
 
}}
 
}}
Line 36: Line 35:
  
 
<h3 style="display:none">Bottom Section</h3>
 
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Ambient|{{uc:ambientAnimCombat}}]]
+
[[Category:Function Group: Eden Editor|{{uc:initSliderValue}}]]
[[Category:Functions|{{uc:ambientAnimCombat}}]]
+
[[Category:Functions|{{uc:initSliderValue}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:ambientAnimCombat}}]]
+
[[Category:{{Name|arma3}}: Functions|{{uc:initSliderValue}}]]

Latest revision as of 01:08, 14 August 2020

Introduced with Arma 3 version 1.581.58
Hover & click on the images for descriptions

Description

Description:
Iniitialises a slider attribute control within the Eden Editor.

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

Execution:
call
See also:
Eden Editor: Configuring Attributes

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section