Difference between revisions of "sliderRange"

From Bohemia Interactive Community
Jump to navigation Jump to search
 
(27 intermediate revisions by 11 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands]]
+
{{Command|Comments=
[[Category:Scripting Commands OFP 1.97]]
+
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA]]
 
  
back to [[Scripting_Reference#S|COMREF]]
+
| ofpr |Game name=
  
<h2 style="color:#000066">'''sliderRange ''idc'''''</h2>
+
|1.85|Game version=
 +
____________________________________________________________________________________________
  
 +
| 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=
 +
____________________________________________________________________________________________
  
'''Operand types:'''
+
| '''sliderRange''' idc |SYNTAX=
 +
|p1= idc: [[Number]] |PARAMETER1=
 +
| [[Array]] - [min, max] |RETURNVALUE=
  
'''idc:''' [[Number]]
+
|s2= '''sliderRange''' control |SYNTAX2=
  
'''Type of returned value:'''
+
|p21= control: [[Control]] |PARAMETER1=
 +
|r2= [[Array]] - [min, max] |RETURNVALUE=
 +
____________________________________________________________________________________________
 +
 
 +
|x1= <code>_slidelimits1 = [[sliderRange]] 105;</code> |EXAMPLE1=
 +
____________________________________________________________________________________________
  
[[Array]]
+
| [[sliderPosition]], [[sliderSetPosition]], [[sliderSetRange]], [[sliderSetSpeed]], [[sliderSpeed]] |SEEALSO=
  
'''Compatibility:'''
+
}}
  
Added in version '''1.79'''
+
<h3 style="display:none">Notes</h3>
 +
<dl class="command_description">
 +
<!-- Note Section BEGIN -->
  
'''Description:'''
+
<!-- Note Section END -->
 +
</dl>
  
Return limits, as an [[Array]] '''''[min, max]''''' of slider '''idc''' of topmost user [[dialog]].
+
<h3 style="display:none">Bottom Section</h3>
 
+
[[Category:Scripting Commands|SLIDERRANGE]]
 
+
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
'''Example:'''
+
[[Category:Scripting Commands OFP 1.96|SLIDERRANGE]]
 
+
[[Category:Scripting Commands Armed Assault|SLIDERRANGE]]
_slidelimits1 = '''sliderRange''' 105
+
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
 +
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
 +
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
 +
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]

Latest 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

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