sliderPosition

From Bohemia Interactive Community
Revision as of 22:59, 6 April 2020 by Lou Montana (talk | contribs) (Text replacement - "[[Category:Scripting_Commands_Take_On_Helicopters" to "[[Category:Scripting Commands Take On Helicopters")
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