generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Roblox » Suggestions & Ideas
Home Search
 

Re: :GetRealTime Method for lighting

Previous Thread :: Next Thread 
Vitouliss14 is not online. Vitouliss14
Joined: 18 Mar 2009
Total Posts: 7918
18 Dec 2011 09:48 AM
So let's say in Lighting's TimeOfDay it is 14:00:00! So if we used game:GetService("Lighting"):GetRealTime() then it would convert the TimeOfDay to real time. It probably would return 3:00 PM or whatever time...I don't know.

It's just an idea I had....It's always good to have premade methods by ROBLOX isn't it?
Report Abuse
imbetterthanU123456 is not online. imbetterthanU123456
Joined: 30 May 2010
Total Posts: 1701
18 Dec 2011 10:25 AM
Not a bad idea but it doesn't look much different in roblox when you set the time of day to 10am or 6pm.
Report Abuse
Vitouliss14 is not online. Vitouliss14
Joined: 18 Mar 2009
Total Posts: 7918
19 Dec 2011 03:26 PM
[ Bump ]
Report Abuse
frittle is not online. frittle
Joined: 06 May 2009
Total Posts: 2781
19 Dec 2011 03:34 PM
that game better have data persistence then.
Report Abuse
Vitouliss14 is not online. Vitouliss14
Joined: 18 Mar 2009
Total Posts: 7918
19 Dec 2011 03:36 PM
I didn't say anything about a game???!!
Report Abuse
frittle is not online. frittle
Joined: 06 May 2009
Total Posts: 2781
19 Dec 2011 03:37 PM
i am saying that if a game DOES have this, it should have data persistence.
Report Abuse
Vitouliss14 is not online. Vitouliss14
Joined: 18 Mar 2009
Total Posts: 7918
19 Dec 2011 03:38 PM
Why????
Report Abuse
frittle is not online. frittle
Joined: 06 May 2009
Total Posts: 2781
19 Dec 2011 03:38 PM
do not mind what i said before, just mind what i am saying below:

Support.
Report Abuse
Vitouliss14 is not online. Vitouliss14
Joined: 18 Mar 2009
Total Posts: 7918
19 Dec 2011 03:44 PM
Ok thanks!!!!
Report Abuse
qwerty1806 is not online. qwerty1806
Joined: 20 Sep 2008
Total Posts: 737
19 Dec 2011 03:59 PM
Can't you just use: 'time = tick()' and work it out from there?

Also, I think that with a LocalScript it returns your system's time.
Report Abuse
Vitouliss14 is not online. Vitouliss14
Joined: 18 Mar 2009
Total Posts: 7918
20 Dec 2011 04:24 PM
How would you use a LocalScript to return your systems time???
Report Abuse
Vitouliss14 is not online. Vitouliss14
Joined: 18 Mar 2009
Total Posts: 7918
20 Dec 2011 04:27 PM
I didn't even know that was possible.
Report Abuse
completeman is not online. completeman
Joined: 29 Mar 2009
Total Posts: 11568
20 Dec 2011 04:30 PM
[ Content Deleted ]
Report Abuse
crazypotato4 is not online. crazypotato4
Joined: 22 Feb 2010
Total Posts: 20000
20 Dec 2011 04:35 PM
tick() on an online server = seconds since midnight january 1, 1970 UTC
tick() on the client (offline server or localscript) = same thing except on your computer's time

it's like os.clock() except we don't have os.clock() so we use tick()

so then you can do maths and stuff to get the current time and date

so if that's what you're asking, we don't REALLY need it. but if we were to have it, then it wouldn't be in lighting :l

it would be a global function like tick() and stuff (tick = os.clock, what_youre_asking = os.date?)
Report Abuse
Vitouliss14 is not online. Vitouliss14
Joined: 18 Mar 2009
Total Posts: 7918
20 Dec 2011 04:44 PM
"but if we were to have it, then it wouldn't be in lighting :l"

Yeah...Sorry about that. I need to think more often *Bangs head*

Thanks guys for your answers....Mostly towards crazypotato4...But thanks to all!
Report Abuse
Vitouliss14 is not online. Vitouliss14
Joined: 18 Mar 2009
Total Posts: 7918
22 Dec 2011 03:44 PM
But i don't like using math....Oh well.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Roblox » Suggestions & Ideas
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image