sliderSetPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (<pre> to <code> + "see also")
mNo edit summary
Line 38: Line 38:
<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|SLIDERSETPOSITION]]
[[Category:Scripting Commands|SLIDERSETPOSITION]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|SLIDERSETPOSITION]]
[[Category:Scripting Commands OFP 1.96|SLIDERSETPOSITION]]
[[Category:Scripting Commands ArmA|SLIDERSETPOSITION]]
[[Category:Scripting Commands ArmA|SLIDERSETPOSITION]]

Revision as of 11:21, 25 September 2014

Hover & click on the images for description

Description

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

Syntax

Syntax:
sliderSetPosition [idc, pos]
Parameters:
[idc, pos]: Array
idc: Number of control
pos: Number
Return Value:
Nothing

Alternative Syntax

Syntax:
control sliderSetPosition pos
Parameters:
control: Control
pos: Number
Return Value:
Nothing

Examples

Example 1:
sliderSetPosition [101, 50];

Additional Information

See also:
sliderPositionsliderRangesliderSetRangesliderSetSpeedsliderSpeed

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