BIS fnc startLoadingScreen: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (GVI http://dev.arma3.com/post/spotrep-00004)
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}}")
 
(33 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 0.58


| arma3 |= Game name
|gr1= Systems


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


| <pre>/*
{{Feature|arma3|The loading screen can be force-ended with the {{Link|Arma 3: Cheats#ENDLOAD|ENDLOAD cheat code}}.}}


Description:
|s1= [screenId, layout] call [[BIS_fnc_startLoadingScreen]]
Register a loading screen. Start the loading when it's the first one registered.


Parameter(s):
|p1= screenId: [[String]] - screen ID, will be used in [[BIS_fnc_endLoadingScreen]]
0: STRING - screen ID, will be used in BIS_fnc_endLoadingScreen
1 (Optional): STRING - loading screen layout


Returns:
|p2= layout: [[String]] - loading text. ''has no effect in {{arma3}}''
BOOL - true when registered
*/
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_startLoadingScreen]]; --> |= Syntax
|r1= [[Boolean]] - true when registered


|p1= |= Parameter 1
|x1= <sqf>["myLoadingScreen", "Loading… wait for my splendid™ mission!"] call BIS_fnc_startLoadingScreen;
 
uiSleep 3;
| |= Return value
"myLoadingScreen" call BIS_fnc_endLoadingScreen;</sqf>
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[BIS_fnc_endLoadingScreen]] [[startLoadingScreen]] [[endLoadingScreen]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Misc|{{uc:startLoadingScreen}}]]
[[Category:Functions|{{uc:startLoadingScreen}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:startLoadingScreen}}]]

Latest revision as of 09:44, 6 September 2024

Hover & click on the images for description

Description

Description:
Register a loading screen. Start the loading when it is the first one registered.
Arma 3
The loading screen can be force-ended with the ENDLOAD cheat code.
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_endLoadingScreen startLoadingScreen endLoadingScreen

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