Arma 3 Scripting

Command in GUI Control

sliderSetPosition

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

Description

Sets current thumb position of CT_SLIDER or CT_XSLIDER.

Syntax

Syntax 1

sliderSetPosition [idc, pos]

Parameters:

Returns: Nothing

Syntax 2

control sliderSetPosition pos

Parameters:

Returns: Nothing

Examples

Example 1

_ctrlSlider sliderSetPosition 50;

See also

sliderPosition · sliderRange · sliderSetRange · sliderSetSpeed · sliderSpeed · ctrlSetScrollValues · progressSetPosition