sliderRange: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Comments" to "|Comments=")
m (Text replacement - "{{uc:{{PAGENAME}}}}" to "")
(13 intermediate revisions by 3 users not shown)
Line 2: Line 2:
____________________________________________________________________________________________
____________________________________________________________________________________________


| ofpr |= Game name
| ofpr |Game name=


|1.85|= Game version
|1.85|Game version=
 
|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=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 14: Line 16:
| [[Array]] - [min, max] |RETURNVALUE=
| [[Array]] - [min, max] |RETURNVALUE=


|s2= '''sliderRange''' control |SYNTAX=
|s2= '''sliderRange''' control |SYNTAX2=
|p21= control: [[Control]] |PARAMETER1=
 
|r2= [[Array]] - [min, max] |RETURNVALUE=
|p21= control: [[Control]] |PARAMETER21=
|r2= [[Array]] - [min, max] |RETURNVALUE2=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
Line 37: Line 40:
[[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: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}}}}]]

Revision as of 17:53, 26 September 2020

Hover & click on the images for description

Description

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

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

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section