progressPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
m (formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma2
|game1= arma2


|1.00
|version1= 1.00


|gr1= GUI Control
|game2= arma2oa
 
|version2= 1.51
 
|game3= tkoh


| Returns the current position in the progress bar.
|version3= 1.00


| '''progressPosition''' control
|game4= arma3


|p1= control:  [[Control]]
|version4= 0.50


| [[Number]]
|gr1= GUI Control


|x1= <code>_pos = [[progressPosition]] _control;</code>
|descr= Returns the current position in the [[CT_PROGRESS|progress bar]].


| [[progressSetPosition]], [[ctrlScrollValues]], [[sliderPosition]]. [[progressLoadingScreen]]
|s1= '''progressPosition''' control
}}
 
|p1= control:  [[Control]] - Progress bar
|r1= [[Number]] - Progress from 0 to 1


|x1= <code>_progress = [[progressPosition]] _control;</code>


{{GameCategory|arma2|Scripting Commands}}
|seealso= [[progressSetPosition]] [[ctrlScrollValues]] [[sliderPosition]] [[progressLoadingScreen]]
{{GameCategory|arma3|Scripting Commands}}
}}
{{GameCategory|tkoh|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 09:28, 25 May 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