progressLoadingScreen: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma2 |Game name=
| arma2


|1.00|Game version=
|1.00


|eff= loc |MP Effect=
|eff= loc |MP Effect=


|gr1= System |GROUP1=
|gr1= System


| If loading screen is shown, sets progress bar to the given value (interval is from 0 to 1]) |DESCRIPTION=
| If loading screen is shown, sets progress bar to the given value (interval is from 0 to 1])


| [[progressLoadingScreen]] progress |SYNTAX=
| [[progressLoadingScreen]] progress


|p1= progress: [[Number]] - in range 0..1 |PARAMETER1=
|p1= progress: [[Number]] - in range 0..1


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]


|x1= <code>[[startLoadingScreen]] ["Loading My Mission"];
|x1= <code>[[startLoadingScreen]] ["Loading My Mission"];
Line 33: Line 33:
{{cc|batch of code}}
{{cc|batch of code}}
{{cc|}}
{{cc|}}
[[endLoadingScreen]];</code> |EXAMPLE1=
[[endLoadingScreen]];</code>


| [[startLoadingScreen]], [[endLoadingScreen]], [[progressPosition]], [[BIS_fnc_progressLoadingScreen]] |SEEALSO=
| [[startLoadingScreen]], [[endLoadingScreen]], [[progressPosition]], [[BIS_fnc_progressLoadingScreen]]
}}
}}



Revision as of 02:11, 18 January 2021

-wrong parameter ("loceffect") defined!-
Hover & click on the images for description

Description

Description:
If loading screen is shown, sets progress bar to the given value (interval is from 0 to 1])
Groups:
System

Syntax

Syntax:
progressLoadingScreen progress
Parameters:
progress: Number - in range 0..1
Return Value:
Nothing

Examples

Example 1:
startLoadingScreen ["Loading My Mission"]; //  // batch of code //  progressLoadingScreen 0.25; //  // batch of code //  progressLoadingScreen 0.50; //  // batch of code //  progressLoadingScreen 0.95; //  // batch of code //  endLoadingScreen;

Additional Information

See also:
startLoadingScreenendLoadingScreenprogressPositionBIS_fnc_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

Notes

Bottom Section