sliderPosition

From Bohemia Interactive Community
Revision as of 17:20, 10 January 2020 by Lou Montana (talk | contribs) (Text replacement - "Category:Scripting Commands ArmA2" to "Category:Scripting Commands Arma 2")
Jump to navigation Jump to search
Hover & click on the images for description

Description

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

While main syntax only supports CT_SLIDER, the alternative syntax supports both CT_SLIDER and CT_XSLIDER
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