Difference between revisions of "sliderRange"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "[[Category:Scripting Commands ArmA|" to "[[Category:Scripting Commands Armed Assault|")
Line 7: Line 7:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| Return limits, as an [[Array]] [min, max] of slider idc of topmost user [[dialog]].
+
| Returns limits, as an [[Array]] [min, max] of <tt>CT_SLIDER</tt> or <tt>CT_XSLIDER</tt> with given idc of topmost user [[dialog]]. |DESCRIPTION=
<br><br>{{Important | While main syntax only supports <tt>CT_SLIDER</tt>, the alternative syntax supports both <tt>CT_SLIDER</tt> and <tt>CT_XSLIDER</tt>}} |DESCRIPTION=
 
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  

Revision as of 22:50, 2 July 2020

Introduced with Operation Flashpoint: Resistance version 1.851.85
Hover & click on the images for descriptions

Description

Description:
Returns limits, as an Array [min, max] of CT_SLIDER or CT_XSLIDER with given idc of topmost user dialog.

Syntax

Syntax:
sliderRange idc
Parameters:
idc: Number
Return Value:
Array - [min, max]

Alternative Syntax

Syntax:
sliderRange control
Parameters:
control: Control
Return Value:
Array - [min, max]

Examples

Example 1:
_slidelimits1 = sliderRange 105;

Additional Information

See also:
sliderPositionsliderSetPositionsliderSetRangesliderSetSpeedsliderSpeed
Groups:
Uncategorised

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