sliderPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (template:command argument fix)
(14 intermediate revisions by 7 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|SLIDERPOSITION]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.97|SLIDERPOSITION]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|SLIDERPOSITION]]


| ofpr |= Game name


<h2 style="color:#000066">'''sliderPosition ''idc'''''</h2>
|1.85|= Game version
____________________________________________________________________________________________


| Return current thumb position of slider idc of topmost user [[dialog]]. |DESCRIPTION=
____________________________________________________________________________________________


'''Operand types:'''
| '''sliderPosition''' idc |SYNTAX=
|p1= idc: [[Number]] |PARAMETER1=
| [[Number]] |RETURNVALUE=


'''idc:''' [[Number]]
|s2= '''sliderPosition''' control |SYNTAX=
|p21= control: [[Control]] |PARAMETER1=
|r2= [[Number]] |RETURNVALUE=
____________________________________________________________________________________________
 
|x1= <code>_slidepos1 = [[sliderPosition]] 105;</code> |EXAMPLE1=
____________________________________________________________________________________________


'''Type of returned value:'''
| [[sliderRange]], [[sliderSetPosition]], [[sliderSetRange]], [[sliderSetSpeed]], [[sliderSpeed]] |SEEALSO=


[[Number]]
}}


'''Compatibility:'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


Added in version '''1.79'''
<!-- Note Section END -->
</dl>


'''Description:'''
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|SLIDERPOSITION]]
Return current thumb position of slider '''idc''' of topmost user [[dialog]].
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands OFP 1.96|SLIDERPOSITION]]
 
[[Category:Scripting Commands ArmA|SLIDERPOSITION]]
'''Example:'''
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
_slidepos1 = '''sliderPosition''' 105
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 15:49, 7 April 2019

Hover & click on the images for description

Description

Description:
Return current thumb position of slider idc of topmost user dialog.
Groups:
Uncategorised

Syntax

Syntax:
sliderPosition idc
Parameters:
idc: Number
Return Value:
Number

Alternative Syntax

Syntax:
sliderPosition control
Parameters:
control: Control
Return Value:
Number

Examples

Example 1:
_slidepos1 = sliderPosition 105;

Additional Information

See also:
sliderRangesliderSetPositionsliderSetRangesliderSetSpeedsliderSpeed

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