BIS fnc startLoadingScreen: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ") |
Lou Montana (talk | contribs) m (Text replacement - "with [https://community.bistudio.com/wiki/Arma_3:_Cheats#ENDLOAD ENDLOAD cheat code]" to "with the {{Link|Arma 3: Cheats#ENDLOAD|ENDLOAD cheat code}}") |
||
(17 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 0.58 | |||
| | |gr1= Systems | ||
| | |descr= Register a loading screen. Start the loading when it is the first one registered. | ||
| | {{Feature|arma3|The loading screen can be force-ended with the {{Link|Arma 3: Cheats#ENDLOAD|ENDLOAD cheat code}}.}} | ||
| [screenId, layout] call [[BIS_fnc_startLoadingScreen]] | |s1= [screenId, layout] call [[BIS_fnc_startLoadingScreen]] | ||
|p1= screenId: [[String]] - screen ID, will be used in [[BIS_fnc_endLoadingScreen]] | |p1= screenId: [[String]] - screen ID, will be used in [[BIS_fnc_endLoadingScreen]] | ||
Line 15: | Line 16: | ||
|p2= layout: [[String]] - loading text. ''has no effect in {{arma3}}'' | |p2= layout: [[String]] - loading text. ''has no effect in {{arma3}}'' | ||
| [[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; | |||
"myLoadingScreen" | "myLoadingScreen" call BIS_fnc_endLoadingScreen;</sqf> | ||
|seealso= [[BIS_fnc_endLoadingScreen]] | |seealso= [[BIS_fnc_endLoadingScreen]] [[startLoadingScreen]] [[endLoadingScreen]] | ||
}} | }} | ||
Latest revision as of 09:44, 6 September 2024
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