Flickering point light on demand.

Hey Guys hope you’re all well.

Im working on a horror game and i need some lights to flicker at a certain time. These lights should be flickering while some sounds are being played.

I tried to link up a for loop with changing intensity of a light to a random float, but it just made the light one intensity, and when I printed out the random float for debugging, it just showed one number and not the full loop.

I am absolutely stumped, Someone please help me haha.

Thank you all so much and help is appreciated.

Like this:

( It’s a BP )

Im fairly new to UE4 in general so will that Blueprint work in the sense that i can call it when I want and not just have it play throughout the entirety of the level

No, then you do it like this: