GodsFist 19 Posted June 12, 2017 Hallo guys, I made a Mp mission and at the begining I got a typing text. But when the text comes it got stuck at the first letter, Players than have to abort an come back in and than it's going good, but without the Black screen. Here's my code: MissionIntro = [] spawn { // Typing beginning ["BIS_blackStart", false] call BIS_fnc_blackOut; //playMusic ""; [[["A Vietnam Story 1965~1969 proudly presents:","<t align = 'center' shadow = '1' size = '1' font='PuristaBold'>%1</t><br/>"], ["Cambodian River Incursion.","<t align = 'center' shadow = '1' size = '0.7'>%1</t><br/>"], ["Brown Water Navy-Base, May 8 1965, 05.35 AM","<t align = 'center' shadow = '1' size = '0.7'>%1</t><br/>"]],0,0,"<t color='#FFFFFFFF' align='center'>%1</t>"] spawn BIS_fnc_typeText; sleep 20; ["BIS_blackStart", true] call BIS_fnc_blackIn; }; Can somebody please help me!!! Share this post Link to post Share on other sites
sarogahtyp 1104 Posted June 12, 2017 I dont get ur syntax for BIS_fnc_typeText. As I understand the wiki the syntax should be like this: [ ["A Vietnam Story 1965~1969 proudly presents:","<t align = 'center' shadow = '1' size = '1' font='PuristaBold'>%1</t><br/>"], ["Cambodian River Incursion.","<t align = 'center' shadow = '1' size = '0.7'>%1</t><br/>"], ["Brown Water Navy-Base, May 8 1965, 05.35 AM","<t align = 'center' shadow = '1' size = '0.7'>%1</t><br/>"] ] spawn BIS_fnc_typeText; the second thing is ur 20 seconds sleep. it maybe that if someone has much less fps than u that the BIS_fnc_typeText is slower than on ur machine and the typing text may have not finished after 20b seconds. Therefore I would use scriptDone. Maybe something like this could work, but I did not verify your structured text tags: MissionIntro = [] spawn { //start black screen ["BIS_blackStart", false] call BIS_fnc_blackOut; //animate typing text _script_handle = [ ["A Vietnam Story 1965~1969 proudly presents:","<t align = 'center' shadow = '1' size = '1' font='PuristaBold'>%1</t><br/>"], ["Cambodian River Incursion.","<t align = 'center' shadow = '1' size = '0.7'>%1</t><br/>"], ["Brown Water Navy-Base, May 8 1965, 05.35 AM","<t align = 'center' shadow = '1' size = '0.7'>%1</t><br/>"] ] spawn BIS_fnc_typeText; //wait until text typing is finished waitUntil{ sleep 0.5; scriptDone _script_handle}; //end black screen ["BIS_blackStart", true] call BIS_fnc_blackIn; }; Share this post Link to post Share on other sites
GodsFist 19 Posted June 12, 2017 Thanks mate. I will try that one than, Thank you for you're quick reply. Share this post Link to post Share on other sites
GodsFist 19 Posted June 13, 2017 I've changed it a little and it works now Perfect. MissionIntro = [] spawn { //start black screen ["BIS_blackStart", false] call BIS_fnc_blackOut; //animate typing text _script_handle = [[["A Vietnam Story 1965~1969 proudly presents:","<t align = 'center' shadow = '1' size = '1' font='PuristaBold'>%1</t><br/>"], ["Cambodian River Incursion.","<t align = 'center' shadow = '1' size = '0.7'>%1</t><br/>"], ["Brown Water Navy-Base, May 8 1965, 05.35 AM","<t align = 'center' shadow = '1' size = '0.7'>%1</t><br/>"]],0,0,"<t color='#FFFFFFFF' align='center'>%1</t>"] spawn BIS_fnc_typeText; //wait until text typing is finished waitUntil{ sleep 0.5; scriptDone _script_handle}; //end black screen ["BIS_blackStart", true] call BIS_fnc_blackIn; }; THANK YOU for you're help sarogahtyp Share this post Link to post Share on other sites