Arma 3 Scripting

Command in GUI Control

progressSetPosition

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

Description

Sets progress position of a progress bar.

Syntax

control progressSetPosition progress

Parameters:

Returns: Nothing

Examples

Example 1

_control progressSetPosition 0.5;

Example 2

with uiNamespace do {
    bar = findDisplay 46 ctrlCreate ["RscProgress", -1];
    bar ctrlSetPosition [0,0,1,0.01];
    bar ctrlCommit 0;
    bar progressSetPosition 0.75;
};

See also

progressPosition · ctrlSetScrollValues · sliderSetPosition