Hello so I have a little problem with some of my city lamps
I added a point light to my lamps but when I did it I was with the lighting in day clocktime, so when I made the city nightime I realized the lamps didn’t have enough light, but increasing the range fixed it.
So basically, is there any way to change all the light settings in bulk? the models have multiple parts and sub parents. so opening each one of them and then selecting each point light prob inst the best solution
I don’t think there are any roblox provided tools to assist you with this. However, I have 2 ideas that might be able to help.
Firstly, you could try using the PartPicker plugin to find all of the “Meshes/lampglass” parts, and then “Right Mouse Button>Select All Children”. This would allow you to select all of the PointLights inside your lamps at once, so you could then edit the properties of every one at the same time.
The other option that comes to mind, is to use the studio command bar to find all PointLights in the workspace, and edit their properties.
For instance:
for _, Object in pairs(workspace:GetDescendants()) do
if Object:IsA("PointLight") then
--edit certain property
Object.Range = 10
Object.Brightness = 3
end
end
Hey! Thank you so much, the PartPicker method was the best, worked perfectly and fixed my problem.
The command probably works too but as I have more pointlights in the world then its not going to be working as expected.