Arma 3 Scripting

progressSetPosition

  • Arma 3 v0.50
  • First in Arma 2 v1.00

Command · Markdown · JSON · 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