Dimming up and down lights with switches

Just wondering how to make a counter that goes from 1 to 100 when a key is pressed. In the same way, counting down from where the previous count was set to 1 when another key pressed. This function will feed the intensity of a point light.

Another use for this function will be to vary the RGB value of a series of spot lights. The spot lights will represent an LED RGB strip.

Any help would really be appreciated.
Thanks.

1 Like

Make the lights in your blueprint either Dynamic or stationary lights, then either set the variable + or - on press or use a timeline with a float track to drive it, and use the set colour node to take care of that.
Hopefully it helps

Thanks mate. This is how I finally did it:

Awesome, Glad you got it working

also If you set the thread to resolved people will know there is an answer here

1 Like

Sorry, its my first threat and am not sure how to close since its solved. Any help would be appreciated. Thanks.

Its still in the unanswered questions tab…

Hi,

I think you just have to accept an answer and thats it.

Kind Regards

freakxnet