BIS fnc startLoadingScreen: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>") |
||
Line 16: | Line 16: | ||
|r1= [[Boolean]] - true when registered | |r1= [[Boolean]] - true when registered | ||
|x1= < | |x1= <sqf>["myLoadingScreen", "Loading… wait for my splendid™ mission!"] call BIS_fnc_startLoadingScreen; | ||
uiSleep 3; | uiSleep 3; | ||
"myLoadingScreen" call BIS_fnc_endLoadingScreen;</ | "myLoadingScreen" call BIS_fnc_endLoadingScreen;</sqf> | ||
|seealso= [[BIS_fnc_endLoadingScreen]] [[startLoadingScreen]] [[endLoadingScreen]] | |seealso= [[BIS_fnc_endLoadingScreen]] [[startLoadingScreen]] [[endLoadingScreen]] | ||
}} | }} |
Revision as of 22:45, 12 July 2022
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
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