Difference between revisions of "BIS fnc initSliderValue"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
(Created page with " {{Function|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |1.58|= Game version _______________...")
Line 5: Line 5:
 
| arma3 |= Game name
 
| arma3 |= Game name
  
|1.00|= Game version
+
|1.58|= Game version
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| <pre>/*
+
| 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
Author: Karel Moricky
+
____________________________________________________________________________________________
  
Description:
+
| [Slider, Edit box, Measurement unit, Default value] [[call]] [[BIS_fnc_initSliderValue]];
Initialize slider with edit box showing its value
 
 
 
Parameter(s):
 
0: CONTROL - slider
 
1: CONTROL - edit box
 
2: STRING - measurement unit added behind the number ("%" by default)
 
3: NUMBER - default value. When present, only the value is set, functionality is not initialized
 
 
 
Returns:
 
NOTHING
 
*/
 
 
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
 
____________________________________________________________________________________________
 
  
| <!-- [] call [[BIS_fnc_initSliderValue]]; --> |= Syntax
+
|p1= Slider [[Control]] - Slider control, usually the first control within the controls group |= Parameter 1
|p1= |= Parameter 1
+
|p2= Edit box [[Control]] - Edit Box, usually the second control within the controls group |= Parameter 2
 +
|p3= Measurement unit [[String]] - Measurement unit added behind the number within the edit box ("%" by default) |= Parameter 3
 +
|p4= Default Value [[Number]] - When present, only the value is set, functionality is not initialized |= Parameter 4
  
| |= Return value
+
| [[Nothing]] |= Return value
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
|x1= <code></code> |=  
+
|x1= <code>_this [[controlsGroupCtrl]] 100,_this [[controlsGroupCtrl]] 101,'m',50] [[call]] [[BIS_fnc_initSliderValue]];</code> |= Example 1
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| |= See also
+
||= See also
  
 
}}
 
}}
Line 48: Line 36:
  
 
<h3 style="display:none">Bottom Section</h3>
 
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Default|{{uc:initSliderValue}}]]
+
[[Category:Function Group: Ambient|{{uc:ambientAnimCombat}}]]
[[Category:Functions|{{uc:initSliderValue}}]]
+
[[Category:Functions|{{uc:ambientAnimCombat}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:initSliderValue}}]]
+
[[Category:{{Name|arma3}}: Functions|{{uc:ambientAnimCombat}}]]

Revision as of 18:55, 29 July 2016

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. See Eden Editor Attribute Configuration

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:
See also needed

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