RE: How To Make Loading??
In your OnLeave function call:
SetupLoadScreen(string&asTextCat, string&asTextEntry, int alRandomNum, string&asImageFile);
TextCat is the category of the loading text in your .lang file. TextEntry is obviously the entry under aforementioned category. int alRandomNum is the max number that will be randomly chosen when picking a loading screen (only used for when you have multiple ones and want them to be randomly picked). Put it as 1 if you have only 1 loadscreen, 2 if you have 2, etc. ImageFile is the loadscreen background. Use JPEG format, that's what I know works.
Good luck!
|