Difference between revisions of "sliderRange"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (format)
m (Text replacement - "|Game version=" to "|Game version= |gr1= GUI Control |GROUP1= ")
 
(12 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Command|= Comments
+
{{Command|Comments=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| ofpr |= Game name
+
| ofpr |Game name=
  
|1.85|= Game version
+
|1.85|Game version=
 +
 
 +
|gr1= GUI Control |GROUP1=
 +
 
 +
 
 +
 
 +
|gr1= GUI Control |=GROUP1
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| Return limits, as an [[Array]] [min, max] of slider idc of topmost user [[dialog]]. |= Description
+
| 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=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| '''sliderRange''' idc |= Syntax
+
| '''sliderRange''' idc |SYNTAX=
|p1= idc: [[Number]] |= Parameter 1
+
|p1= idc: [[Number]] |PARAMETER1=
| [[Array]] [min, max] |= Return value
+
| [[Array]] - [min, max] |RETURNVALUE=
 +
 
 +
|s2= '''sliderRange''' control |SYNTAX2=
  
|s2= '''sliderRange''' control |= Syntax
+
|p21= control: [[Control]] |PARAMETER1=
|p21= control: [[Control]] |= Parameter 1
+
|r2= [[Array]] - [min, max] |RETURNVALUE=
|r2= [[Array]] - [min, max] |= Return value
 
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
 
   
 
   
|x1= <code>_slidelimits1 = [[sliderRange]] 105;</code> |= Example 1
+
|x1= <code>_slidelimits1 = [[sliderRange]] 105;</code> |EXAMPLE1=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| [[sliderPosition]], [[sliderSetPosition]], [[sliderSetRange]], [[sliderSetSpeed]], [[sliderSpeed]] |= See also
+
| [[sliderPosition]], [[sliderSetPosition]], [[sliderSetRange]], [[sliderSetSpeed]], [[sliderSpeed]] |SEEALSO=
  
 
}}
 
}}
Line 37: Line 44:
 
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands OFP 1.96|SLIDERRANGE]]
 
[[Category:Scripting Commands OFP 1.96|SLIDERRANGE]]
[[Category:Scripting Commands ArmA|SLIDERRANGE]]
+
[[Category:Scripting Commands Armed Assault|SLIDERRANGE]]
 
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
 
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
+
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
+
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]

Latest revision as of 11:24, 18 September 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