Visarix
|
  |
| Joined: 24 Oct 2014 |
| Total Posts: 33 |
|
|
| 23 Apr 2017 02:44 PM |
How do you make lighting client side instead of global?
Ex: Time of day (basically any setting in lighting) will only be changed for one person, instead of the entire game.
|
|
|
| Report Abuse |
|
|
Casualist
|
  |
| Joined: 26 Jun 2014 |
| Total Posts: 4443 |
|
|
| 23 Apr 2017 02:46 PM |
| FE and change it with a local script. |
|
|
| Report Abuse |
|
|
Rice_Nice
|
  |
| Joined: 12 Mar 2017 |
| Total Posts: 166 |
|
|
| 23 Apr 2017 02:46 PM |
| FilteringEnabled. There used to be a hacky way to have client side lighting but I doubt it works anymore. |
|
|
| Report Abuse |
|
|
Visarix
|
  |
| Joined: 24 Oct 2014 |
| Total Posts: 33 |
|
|
| 23 Apr 2017 02:52 PM |
So i enabled filtering enabled, then use a local script.
Do I just do:
game.Lighting.TimeOfDay = "12:00:00"
|
|
|
| Report Abuse |
|
|
Rice_Nice
|
  |
| Joined: 12 Mar 2017 |
| Total Posts: 166 |
|
| |
|
Visarix
|
  |
| Joined: 24 Oct 2014 |
| Total Posts: 33 |
|
|
| 23 Apr 2017 03:02 PM |
This only works with a regular script
hmmmm |
|
|
| Report Abuse |
|
|
Visarix
|
  |
| Joined: 24 Oct 2014 |
| Total Posts: 33 |
|
|
| 23 Apr 2017 03:09 PM |
wait no it doesnt...
idk what im doing |
|
|
| Report Abuse |
|
|
Rice_Nice
|
  |
| Joined: 12 Mar 2017 |
| Total Posts: 166 |
|
| |
|
wonuf
|
  |
| Joined: 28 May 2013 |
| Total Posts: 133 |
|
|
| 23 Apr 2017 03:16 PM |
As above, if you have FilteringEnabled turned on and change the lighting using a LocalScript this will only effect the client, not other players.
I'd put the LocalScript inside 'StartPlayerScripts', which is in 'StarterPlayer'. |
|
|
| Report Abuse |
|
|