Jump to content
Vlue

Basic Game Time + Night/Day

Recommended Posts

Awesome script, Vlue! Thank you! ^_^

Edited by PurplePhantom

Share this post


Link to post
Share on other sites

Okay... At risk of sounding like a complete idiot, what would the variable number be for each hour and its 30 minute mark? (I.E - 1:00, 1:30, 2:00, 2:30, etc., etc.)

Share this post


Link to post
Share on other sites

Since every hour has a total of 60 minutes, you should multiply the time (in hours) by 60. So, for example, 8:00 would be 8*60 = 480 and 20:00 would be 20*60 = 1200, but 8:30 would be 8,5*60 = 510 and 20:30 would be 20,5*60 = 1230. For quarters of an hour (0:15/0:45) you can use 0,25/0,75 decimals.

 

Hope this helps :)

Edited by Absurdiness
  • Like 2

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted