Jump to content
JoseRodriguez

Titletext & Black Screen at Mission Start

Recommended Posts

Hello,

 

I have another noob question. I use below template for init of missions. It works perfectly.

However, I want first text to take 10 seconds to appear and 10 more seconds to disappear. I also want the second text to do the same in 15 seconds.

But it doesn't work. I tried to change "5" values but black screen is messed up. It suddenly opens, then goes to black again etc...

To be honest, I don't understand how this works. Can you guys help?

 


null=[]spawn { 
cutText ["","BLACK FADED",2];
titleText ["Test Text 1", "BLACK OUT", 5];
uiSleep 5; 
titleText ["Test Text 1", "BLACK IN", 5];
uiSleep 5;
titleText ["Test Text 2", "BLACK OUT", 5];
uiSleep 5; 
titleText ["Test Text 2", "BLACK IN", 5];
uiSleep 5; 
[1, "BLACK", 5, 1] spawn BIS_fnc_fadeEffect; 
}; 

 

Share this post


Link to post
Share on other sites

I resolved it by injecting cutText to certain points. Looks like it runs out of cutText fuel...

Still don't know how it works though


null=[]spawn {  
cutText ["","BLACK FADED",2]; 
titleText ["Test Text 1", "BLACK OUT", 10]; 
uiSleep 10;  
titleText ["Test Text 1", "BLACK IN", 10]; 
uiSleep 10;
cutText ["","BLACK FADED",2]; 
titleText ["Test Text 2", "BLACK OUT", 15]; 
uiSleep 15;  
cutText ["","BLACK FADED",2];
titleText ["Test Text 2", "BLACK IN", 15]; 
uiSleep 15;  
[1, "BLACK", 5, 1] spawn BIS_fnc_fadeEffect;  
};  

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×