|
| 04 Jul 2013 12:23 PM |
Color3.new is being silly.
game.Lighting.Ambient=Color3.new(1,1,1) wait(1) game.Lighting.FogColor=Color3.new(0,0,0)
Whenever I use this, it switches the fog color and ambient for about a second. Then everything goes to pure white (255,255,255) |
|
|
| Report Abuse |
|
|
Cupkle
|
  |
| Joined: 18 Jun 2012 |
| Total Posts: 180 |
|
|
| 04 Jul 2013 12:25 PM |
Is it in a loop?
Because this is what it'd look like.
game.Lighting.Ambient=Color3.new(1,1,1) wait(1) game.Lighting.FogColor=Color3.new(0,0,0) game.Lighting.Ambient=Color3.new(1,1,1) wait(1) game.Lighting.FogColor=Color3.new(0,0,0) game.Lighting.Ambient=Color3.new(1,1,1) wait(1) game.Lighting.FogColor=Color3.new(0,0,0) ... |
|
|
| Report Abuse |
|
|
|
| 04 Jul 2013 12:29 PM |
Nooo. I wouldn't put it like that. I just didn't want to post the whole script since it would make things too confusing xDD.
But I fixed it.
For some reason ROBLOX doesn't like Color3.new(1,1,1)
However, 0,0,0 seems to be working. |
|
|
| Report Abuse |
|
|
| |
|
|
| 04 Jul 2013 01:13 PM |
| Color3 is from 0-1. So 1, 1, 1 is supposed to be pure white, with 0, 0, 0 being pitch black. |
|
|
| Report Abuse |
|
|
| |
|
huner2
|
  |
| Joined: 27 Apr 2008 |
| Total Posts: 1681 |
|
|
| 04 Jul 2013 02:59 PM |
If you want to do more precise colors with Color3 do this:
Color3.new(somenumber/255,somenumber/255,somenumber/255) |
|
|
| Report Abuse |
|
|
|
| 04 Jul 2013 03:05 PM |
OHHH. I've seen that done, I never understood.
Thanks! :)
■▬▬ ARCANE: http://www.roblox.com/Groups/group.aspx?gid=94762 ▬▬■ |
|
|
| Report Abuse |
|
|