Difference between revisions of "BIS fnc initSliderValue"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 13: Line 13:
 
| [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]] |RETURNVALUE=
 
| [[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=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  

Revision as of 15:30, 7 April 2019

Introduced with Arma 3 version 1.58
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.58

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

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section