sliderPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
m (template:command argument fix)
(21 intermediate revisions by 7 users not shown)
Line 1: Line 1:
back to [[Scripting_Reference#U|COMREF]]
{{Command|= Comments
____________________________________________________________________________________________


<h2 style="color:#000066">'''sliderPosition '''''idc''</h2>
| ofpr |= Game name


'''Operand types:'''
|1.85|= Game version
____________________________________________________________________________________________


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


'''Type of returned value:'''
| '''sliderPosition''' idc |SYNTAX=
|p1= idc: [[Number]] |PARAMETER1=
| [[Number]] |RETURNVALUE=


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


'''Description:'''
| [[sliderRange]], [[sliderSetPosition]], [[sliderSetRange]], [[sliderSetSpeed]], [[sliderSpeed]] |SEEALSO=


Return current thumb position of slider idc of topmost user dialog.
}}


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


_slidepos1 = '''sliderPosition''' 105
<!-- Note Section END -->
</dl>
 
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|SLIDERPOSITION]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|SLIDERPOSITION]]
[[Category:Scripting Commands ArmA|SLIDERPOSITION]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[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