sliderRange: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
(42 intermediate revisions by 11 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|SLIDERRANGE]]
{{RV|type=command
[[Category:Scripting Commands OFP 1.96|SLIDERRANGE]]
[[Category:Scripting Commands ArmA|SLIDERRANGE]]


| ofpr


<h2 style="color:#000066">'''sliderRange ''idc'''''</h2>
|1.85


|gr1= GUI Control


'''Operand types:'''
| Returns limits, as an [[Array]] [min, max] of <tt>CT_SLIDER</tt> or <tt>CT_XSLIDER</tt> with given idc of topmost user [[dialog]].


'''idc:''' [[Number]]
| '''sliderRange''' idc
|p1= idc: [[Number]]
| [[Array]] - [min, max]


'''Type of returned value:'''
|s2= '''sliderRange''' control


[[Array]]
|p21= control: [[Control]]
|r2= [[Array]] - [min, max]
 
|x1= <code>_slidelimits1 = [[sliderRange]] 105;</code>


'''Compatibility:'''
|seealso= [[sliderPosition]], [[sliderSetPosition]], [[sliderSetRange]], [[sliderSetSpeed]], [[sliderSpeed]]
}}


Added in version '''1.79'''


'''Description:'''
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands OFP 1.96|SLIDERRANGE]]
Return limits, as an [[Array]] '''''[min, max]''''' of slider '''idc''' of topmost user [[dialog]].
{{GameCategory|arma1|Scripting Commands}}
 
 
'''Example:'''


_slidelimits1 = '''sliderRange''' 105
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Revision as of 01:09, 17 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
GUI Control

Syntax

Syntax:
Syntax needed
Parameters:
idc: Number
Return Value:
Return value needed

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