BIS fnc startLoadingScreen: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Page filling) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Register a loading screen. Start the loading when it is the first one registered. |= | | Register a loading screen. Start the loading when it is the first one registered. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [screenId, layout] call [[BIS_fnc_startLoadingScreen]] |= | | [screenId, layout] call [[BIS_fnc_startLoadingScreen]] |SYNTAX= | ||
|p1= screenId: [[String]] - screen ID, will be used in [[BIS_fnc_endLoadingScreen]] |= | |p1= screenId: [[String]] - screen ID, will be used in [[BIS_fnc_endLoadingScreen]] |PARAMETER1= | ||
|p2= layout: [[String]] - loading text. ''has no effect in {{arma3}}'' |= | |p2= layout: [[String]] - loading text. ''has no effect in {{arma3}}'' |PARAMETER2= | ||
| [[Boolean]] - true when registered |= | | [[Boolean]] - true when registered |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>["myLoadingScreen", "Loading… wait for my splendid™ mission!"] [[call]] [[BIS_fnc_startLoadingScreen]]; | |x1= <code>["myLoadingScreen", "Loading… wait for my splendid™ mission!"] [[call]] [[BIS_fnc_startLoadingScreen]]; | ||
[[uiSleep]] 3; | [[uiSleep]] 3; | ||
"myLoadingScreen" [[call]] [[BIS_fnc_endLoadingScreen]];</code> |= | "myLoadingScreen" [[call]] [[BIS_fnc_endLoadingScreen]];</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[BIS_fnc_endLoadingScreen]], [[startLoadingScreen]], [[endLoadingScreen]] |= | | [[BIS_fnc_endLoadingScreen]], [[startLoadingScreen]], [[endLoadingScreen]] |SEEALSO= | ||
}} | }} | ||
Revision as of 14:33, 7 April 2019
Description
- Description:
- Register a loading screen. Start the loading when it is the first one registered.
- Execution:
- call
- Groups:
- Uncategorised
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