Junker 0 Posted June 23, 2009 looked and searched - i even tested but cant figure it out whats the formula to convert daytime (12.5) to actual time (12.30)... ? Share this post Link to post Share on other sites
imutep 0 Posted June 23, 2009 (edited) dayTime returns the current ingame time in hours. You can use it as condition in a script or trigger. Example: 22.5 = 10:30PM ? (dayTime > 22.5) : {"What a dark night!"}; Edited June 23, 2009 by Imutep Share this post Link to post Share on other sites
Rommel 2 Posted June 23, 2009 You could try converting it from the command date. It returns I think 5 variables, and the last one or two is the time in hours. Either that or you could just make a function to read day time. :) Share this post Link to post Share on other sites
Mike84 1 Posted June 23, 2009 _time = [daytime] call bis_fnc_TimeToString Share this post Link to post Share on other sites
fincuan 0 Posted June 23, 2009 (edited) Damn BIS, making it all ready for us. All the custom functions I made for my arty addon are now useless :D edit: Forget what I posted and just use the BIS way :) Different function Edited June 24, 2009 by Fincuan Share this post Link to post Share on other sites
Junker 0 Posted June 24, 2009 thnx for the replies but none of this helps me :( Share this post Link to post Share on other sites