Arma 3 Scripting

Command in GUI Control

sliderSetSpeed

Also available as Markdown and JSON, or read the original wiki page.

Description

Sets slider line step and page step delta amount as well as optional step amount of CT_SLIDER or CT_XSLIDER with given idc of topmost user dialog.

Note

CT_XSLIDER does not use the page parameter, it acts as scrollbar when clicked on the bar. It also can only be horizontal.

Syntax

Syntax 1

sliderSetSpeed [idc, line, page, step]

Parameters:

Returns: Nothing

Syntax 2

control sliderSetSpeed [line, page, step]

Parameters:

Returns: Nothing

Examples

Example 1

sliderSetSpeed [101, 0.5, 2];

See also

sliderSpeed