Jump to content
Sign in to follow this  
PeterBitt

campaign - get time & date from previous mission

Recommended Posts

hi there!

in my campaign i use "bis_fnc_showTime" for each mission that starts (in the intro section).

because my campaign is set around 2-3 days, i would like "bis_fnc_showTime" to show the excact time & date at wich the previous mission ended.

i searched through the missions from harvest red, but still dont get it...

here is the script, red are the lines wich i would like to have the time & date of the previous mission:

cuttext ["","black in",10e10];

0 fadesound 0;

createcenter sidelogic;

_grp = creategroup sidelogic;

_logicFnc = _grp createunit ["FunctionsManager",position player,[],0,"none"];

waituntil {!isnil "bis_fnc_init"};

_showtime = [

[2013,10,10,15,20], //--- Start time

[2013,10,11,8,20], //--- End time

50

] call bis_fnc_showTime;

waituntil {_showtime};

sleep 5;

endmission "end1";

Share this post


Link to post
Share on other sites

Bump. I also have the same question and came up with pretty much the exact same script (freaked me out).

Thanks for reading this

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  

×