Difference between revisions of "sliderRange"

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

Revision as of 04:33, 3 September 2019

Introduced with Operation Flashpoint: Resistance version 1.85
  

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint: Resistance
Version:
1.85

Description

Description:
Return limits, as an Array [min, max] of slider 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

Multiplayer:
-
See also:
sliderPositionsliderSetPositionsliderSetRangesliderSetSpeedsliderSpeed

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