badbirdyo
|
  |
| Joined: 20 Feb 2012 |
| Total Posts: 107 |
|
|
| 01 Jun 2015 03:44 PM |
Trying to figure this out, if somebody could explain in detail I would vouch.
How do I make it where dynamic light comes on ONLY at night time. Iv'e seen many places which have lamps that are not on whilst the day time, when it's night they are turned on?
|
|
|
| Report Abuse |
|
|
badbirdyo
|
  |
| Joined: 20 Feb 2012 |
| Total Posts: 107 |
|
| |
|
badbirdyo
|
  |
| Joined: 20 Feb 2012 |
| Total Posts: 107 |
|
| |
|
badbirdyo
|
  |
| Joined: 20 Feb 2012 |
| Total Posts: 107 |
|
| |
|
|
| 01 Jun 2015 03:59 PM |
You mean, "How do I enable a point light when it is night time in my game?"?
game.Lighting.Changed:connect(function(D) -- When a property of lighting was changed if game.Lighting.TimeOfDay > "18" then -- if it's night time then game.Workspace.YourLight.Enabled = true -- enable your lamp in workspace else if game.Lighting.TimeOfDay < "6" then -- if it's not night time then game.Workspace.YourLight.Enabled = false -- disable your lamp in worksacep end end end)
|
|
|
| Report Abuse |
|
|
badbirdyo
|
  |
| Joined: 20 Feb 2012 |
| Total Posts: 107 |
|
|
| 01 Jun 2015 04:01 PM |
| Where do I put those script words? I need a step by step. Not good at scripting so |
|
|
| Report Abuse |
|
|
|
| 01 Jun 2015 04:02 PM |
| please don't spam bumb if you don't get an answer they don't know the answrr |
|
|
| Report Abuse |
|
|
|
| 01 Jun 2015 04:02 PM |
| Do you know how to open up studio in edit mode? |
|
|
| Report Abuse |
|
|
|
| 01 Jun 2015 04:03 PM |
"please don't spam bumb if you don't get an answer they don't know the answrr"
Not necessarily |
|
|
| Report Abuse |
|
|
badbirdyo
|
  |
| Joined: 20 Feb 2012 |
| Total Posts: 107 |
|
|
| 01 Jun 2015 04:04 PM |
| I sure do what do I do from there? |
|
|
| Report Abuse |
|
|