progressPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9])= *([^ ]+) * +\|version([0-9])= *([^ ]+) * " to "|game$1=$2 |version$3=$4 ")
m (Text replacement - "\|s([0-9])\= '''([^' ]+)'''([^ ]+) " to "|s$1= $2$3 ")
Line 17: Line 17:
|descr= Returns the current position in the [[CT_PROGRESS|progress bar]].
|descr= Returns the current position in the [[CT_PROGRESS|progress bar]].


|s1= '''progressPosition''' control
|s1= [[progressPosition]] control


|p1= control:  [[Control]] - Progress bar
|p1= control:  [[Control]] - Progress bar

Revision as of 17:11, 20 June 2021

Hover & click on the images for description

Description

Description:
Returns the current position in the progress bar.
Groups:
GUI Control

Syntax

Syntax:
progressPosition control
Parameters:
control: Control - Progress bar
Return Value:
Number - Progress from 0 to 1

Examples

Example 1:
_progress = progressPosition _control;

Additional Information

See also:
progressSetPosition ctrlScrollValues sliderPosition progressLoadingScreen

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