Where are you storing the ‘Night Time’ boolean variable? Have you tried the same node setup in a function within the lamp, to make sure that your ‘Set Intensity’ nodes are correctly targeting the light?
Where are you storing the ‘Night Time’ boolean variable? Have you tried the same node setup in a function within the lamp, to make sure that your ‘Set Intensity’ nodes are correctly targeting the light?