endLoadingScreen – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code> +" to "<code>")
m (Some wiki formatting)
 
Line 1: Line 1:
|x2= <code>// Provide a screen is loading
<pre>
[[disableSerialization]];
|x2= <sqf>
[[endLoadingScreen]]; //to avoid freezing the game, end loading screen in advance if a display was created who need user input at the next frame.
// Provide a screen is loading
[[findDisplay]] 49 [[createDisplay]] "RscDisplayCommonMessagePause";
disableSerialization;
</code>|= EXAMPLE2
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>
</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>