endLoadingScreen – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
(moved suspect example to talk)
 
m (Some wiki formatting)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
|x2= <code>
<pre>
|x2= <sqf>
// Provide a screen is loading
// Provide a screen is loading
[[disableSerialization]];
disableSerialization;
[[endLoadingScreen]]; //to avoid freezing the game, end loading screen in advance if a display was created who need user input at the next frame.
endLoadingScreen; // to avoid freezing the game, end loading screen in advance if a display was created who need user input at the next frame.
[[findDisplay]] 49 [[createDisplay]] "RscDisplayCommonMessagePause";
findDisplay 49 createDisplay "RscDisplayCommonMessagePause";
</code>|= EXAMPLE2
</sqf>
</pre>

Latest revision as of 18:38, 15 August 2022

|x2= <sqf>
// Provide a screen is loading
disableSerialization;
endLoadingScreen; // to avoid freezing the game, end loading screen in advance if a display was created who need user input at the next frame.
findDisplay 49 createDisplay "RscDisplayCommonMessagePause";
</sqf>