Difference between revisions of "sliderRange"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (format)
(important)
 
(6 intermediate revisions by 3 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=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| Return limits, as an [[Array]] [min, max] of slider idc of topmost user [[dialog]]. |= Description
+
| Return limits, as an [[Array]] [min, max] of slider idc of topmost user [[dialog]].
 +
<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=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| '''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 |= Syntax
+
|s2= '''sliderRange''' control |SYNTAX2=
|p21= control: [[Control]] |= Parameter 1
+
 
|r2= [[Array]] - [min, max] |= Return value
+
|p21= control: [[Control]] |PARAMETER1=
 +
|r2= [[Array]] - [min, max] |RETURNVALUE=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
 
   
 
   
|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=
  
 
}}
 
}}

Latest revision as of 14:35, 7 October 2019

Introduced with Operation Flashpoint: Resistance version1.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.

While main syntax only supports CT_SLIDER, the alternative syntax supports both CT_SLIDER and CT_XSLIDER

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