JoeBobNX
|
  |
| Joined: 20 Nov 2010 |
| Total Posts: 10834 |
|
| |
|
JoeBobNX
|
  |
| Joined: 20 Nov 2010 |
| Total Posts: 10834 |
|
| |
|
|
| 16 Mar 2012 01:35 PM |
This isn't supposed to have quotations, it should look like this
game.Lighting.TimeOfDay = '12:00:00'
not game.Lighting.TimeOfDay = "12:00:00"
|
|
|
| Report Abuse |
|
|
1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
| |
|
|
| 16 Mar 2012 01:41 PM |
@Woof, Hmm.
That's strange, because when I made my script and used quotations, it had an error. Eh. |
|
|
| Report Abuse |
|
|
SDuke524
|
  |
| Joined: 29 Jul 2008 |
| Total Posts: 6267 |
|
|
| 16 Mar 2012 01:59 PM |
http://wiki.roblox.com/index.php/GetMinutesAfterMidnight_(Method) http://wiki.roblox.com/index.php/SetMinutesAfterMidnight_(Method) |
|
|
| Report Abuse |
|
|
JoeBobNX
|
  |
| Joined: 20 Nov 2010 |
| Total Posts: 10834 |
|
| |
|
SDuke524
|
  |
| Joined: 29 Jul 2008 |
| Total Posts: 6267 |
|
| |
|
|
| 16 Mar 2012 04:12 PM |
@SDuke524 They don't. I already did a script like this.
i did something like this to calculate it :
morningProgress = time/twelveHours eveningProgress = 2 - time/twelveHours
where time is :
time = (lighting:GetMinutesAfterMidnight() + 0.29) % twentyFourHours |
|
|
| Report Abuse |
|
|
|
| 16 Mar 2012 04:13 PM |
| It will give you a number between 1 and 0 that you can use to change your properties |
|
|
| Report Abuse |
|
|