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 » Game Creation and Development » Game Design
Home Search
 

Dynamic Lightning: how to make it so it come on night?

Previous Thread :: Next Thread 
badbirdyo is not online. 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 is not online. badbirdyo
Joined: 20 Feb 2012
Total Posts: 107
01 Jun 2015 03:53 PM
B1
Report Abuse
badbirdyo is not online. badbirdyo
Joined: 20 Feb 2012
Total Posts: 107
01 Jun 2015 03:54 PM
B2
Report Abuse
badbirdyo is not online. badbirdyo
Joined: 20 Feb 2012
Total Posts: 107
01 Jun 2015 03:57 PM
b3
Report Abuse
hunxrepair is online. hunxrepair
Joined: 07 Aug 2011
Total Posts: 777
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 is not online. 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
hunxrepair is online. hunxrepair
Joined: 07 Aug 2011
Total Posts: 777
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
hunxrepair is online. hunxrepair
Joined: 07 Aug 2011
Total Posts: 777
01 Jun 2015 04:02 PM
Do you know how to open up studio in edit mode?
Report Abuse
championbuilder is online. championbuilder
Joined: 20 Jan 2009
Total Posts: 13544
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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • 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