Jump to content

Recommended Posts

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

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 by Imutep

Share this post


Link to post
Share on other sites

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

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 by Fincuan

Share this post


Link to post
Share on other sites

thnx for the replies but none of this helps me :(

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  

×