Difference between revisions of "endLoadingScreen"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (format)
(example)
Line 16: Line 16:
  
 
|x1= <code>[[startLoadingScreen]] ["Loading My Mission"];<br/><br/>//Batch of code<br/><br/>[[progressLoadingScreen]] 0.5;<br/><br/>//Batch of code<br/><br/>[[endLoadingScreen]];</code>|= EXAMPLE1  
 
|x1= <code>[[startLoadingScreen]] ["Loading My Mission"];<br/><br/>//Batch of code<br/><br/>[[progressLoadingScreen]] 0.5;<br/><br/>//Batch of code<br/><br/>[[endLoadingScreen]];</code>|= EXAMPLE1  
 +
 +
|x2= <code>[[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";
 +
</code>|= EXAMPLE2
  
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________

Revision as of 16:12, 14 September 2014

Introduced with Arma 2 version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 2
Version:
1.00

Description

Description:
Finish loading screen displaying (started by startLoadingScreen).

Syntax

Syntax:
endLoadingScreen
Return Value:
Nothing

Examples

Example 1:
startLoadingScreen ["Loading My Mission"];

//Batch of code

progressLoadingScreen 0.5;

//Batch of code

endLoadingScreen;
Example 2:
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";

Additional Information

Multiplayer:
-
See also:
startLoadingScreenprogressLoadingScreen

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section