Move lamp from layer to layer with logic bricks?

So basically I want a light to turn on and off, animating the brightness doesn’t work any more… So how can I tell it to move to an un-rendered layer? Visibility also doesn’t work, I don’t know how to make it hide though…

Start the lamp in a hidden layer and use empties to add it.

Alternatively, there’s an energy (brightness) variable that you can manipulate in Python.

http://bgepython.tutorialsforblender3d.com/Light/energy

The python would do the same thing as simply animating it, i think… I’ll try he first way.

Editing the brightness via python definitely works for me…