BIS fnc startLoadingScreen: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \[\[Category:\{\{Name\|arma3\}\}:[_ ]Functions\|[^ ]+\]\]" to "")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
Line 7: Line 7:
|gr1= Systems
|gr1= Systems


| Register a loading screen. Start the loading when it is the first one registered.
|descr= Register a loading screen. Start the loading when it is the first one registered.


|s1=[screenId, layout] call [[BIS_fnc_startLoadingScreen]]
|s1=[screenId, layout] call [[BIS_fnc_startLoadingScreen]]

Revision as of 20:55, 13 June 2021

Hover & click on the images for description

Description

Description:
Register a loading screen. Start the loading when it is the first one registered.
Execution:
call
Groups:
Systems

Syntax

Syntax:
[screenId, layout] call BIS_fnc_startLoadingScreen
Parameters:
screenId: String - screen ID, will be used in BIS_fnc_endLoadingScreen
layout: String - loading text. has no effect in Arma 3
Return Value:
Boolean - true when registered

Examples

Example 1:
["myLoadingScreen", "Loading… wait for my splendid™ mission!"] call BIS_fnc_startLoadingScreen; uiSleep 3; "myLoadingScreen" call BIS_fnc_endLoadingScreen;

Additional Information

See also:
BIS_fnc_endLoadingScreenstartLoadingScreenendLoadingScreen

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