Driving lamp intensity with material function

I’m not quite sure what you mean. Good Sky already has a blueprint that does that. It’s a material function that outputs a random number and that is then used to control the lightning textures in the sky material. Surely it can’t be that difficult to take the numerical output of the material function and plug it into the lamp intensity?