Jump to content
Sign in to follow this  
Ranwer135

Date at bottom right screen.

Recommended Posts

Hello all. I'm working on a North korean mission based in Zargabad, just wondering if theres a script to make a date appear on the bottom right screen like in the first mission of the OA campaign. It would be awesome if theres a script to do this.

Cheers.

Ranwer

Share this post


Link to post
Share on other sites

This text in bottom right screen is called InfoText. You can search here in editor section how to add this or you can download my tom3kb's SP mission pack from signature (i use this in all missions), go to any mission folder and there in init.sqf you find whole code that you need. :)

@edit

Here is this code, you put this in your init.sqf, this will show two text messages and date/time of mission ("Your Text": in first field you can add mission tittle, in 2nd field mission author. Or whatever you want. I think you can leave empty places if you only want date):

// --- Info text
if (time < 10) then
{
   titleCut ["", "BLACK FADED", 999];
   [] Spawn {
       waitUntil{!(isNil "BIS_fnc_init")};
       // Info text
       [str("Your Text") , str(date select 1) + "." + str(date select 2) + "." + str(date select 0), str("Your Text")] spawn BIS_fnc_infoText;

       sleep 3;
      "dynamicBlur" ppEffectEnable true;   
"dynamicBlur" ppEffectAdjust [6];   
"dynamicBlur" ppEffectCommit 0;     
"dynamicBlur" ppEffectAdjust [0.0];  
"dynamicBlur" ppEffectCommit 7;
       titleCut ["", "BLACK IN", 5]
   };
};

Edited by tom3kb

Share this post


Link to post
Share on other sites

Thank you, Thank you, Thank you so much it worked. It spiced my mission up a lot with the script. Tom3kb, your the best. :yay::yay::yay:

Kind Regards.

Ranwer :)

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
Sign in to follow this  

×