cougarxr7 1 Posted March 18, 2008 I've searched, tried alot of commands, ex: _daytime = daytime That did not worked it returned the value of what is in the mission.sqm. However I am not able to get the actual time of the game. I don't mean the start time. What I am trying to get is the time in the game as it is on the watch. Can some help me? Thanks! Share this post Link to post Share on other sites
NeMeSiS 11 Posted March 18, 2008 http://community.bistudio.com/wiki/date Return the actual mission date and time as an array [year, month, day, hour, minute]. Share this post Link to post Share on other sites
cougarxr7 1 Posted March 19, 2008 Thanks for the reply. That was one of the commands I tried. However it seems to me that array return is the start time of the mission in the mission.sqm. I included a hint for date select 3 and it showed the mission start time, yet the default start params overrode it and yet it did not return that override. Here is a pic of that. You will see the hint showing 1:00<mission.sqm and yet the watch shows 6:00<discription.ext param default start time http://i5.photobucket.com/albums/y188/Cougarxrr/asanarray.jpg Why 2 different times, its just a test. Besides the override would happen before the hint came up from the array yet the watch showed the actual in game time. So I am still at a lost of how to get the time in game at the time it is, as it shows up on the watch, and not the start time. I'll keep trying! Thanks! Share this post Link to post Share on other sites
zonekiller 175 Posted March 19, 2008 while {1 == 1} do { sleep 10; hint format["%1 %2",date select 3,date select 4]; skiptime 5; }; this will show you the time then skip forward time 5 hours and show you the time again ect Michael Share this post Link to post Share on other sites
cougarxr7 1 Posted March 19, 2008 Zone, thanks for replying! However I relize I was not clear as to what I am trying to do. I am trying to access the time var. So I can set it in an if statement, not just see it. Lets say this returns actual in game time. Eample: _wristwatch = time  if (_time > i) or (_time < x) then    true  else    false; That is what I am trying to find. How do you access the actual in game time. You would think something like "GetTime" would work for what I am trying to do. I hope I'm more clear now. Thanks! Share this post Link to post Share on other sites
zonekiller 175 Posted March 19, 2008 is this what your looking for // Check if it's dark, it fire flares instead of popin smoke (between 4.30-19.00) if ((daytime > 4.5) and (daytime < 19)) then {_DayLight = true} else {_DayLight = true}; Share this post Link to post Share on other sites