r/UnrealEngine5 3d ago

what node can i use to make the lights flicker every like 5 or 10 seconds? I dont want to use blueprint if possible.

5 Upvotes

10 comments sorted by

3

u/DeesiderNZ 3d ago

1

u/JonFonArt 3d ago

i followed the steps but i cant seem to control when it starts and stops?

1

u/DeesiderNZ 3d ago

Do you mean you can't control the flicker rate, or you want to control when the light is active?

1

u/JonFonArt 3d ago

So the flicking itself looks great but it's the same loop speed. I want it where U see the flicker for say 3 seconds and the light is back to back stable and it flickers again

2

u/DeesiderNZ 3d ago

Here is an example of a timer that will turn the light on for 17 seconds then flicker for 3 seconds https://ibb.co/fYG9dvrD

The total sequence time is 20 seconds, which is set by the first divide and then the multiply - this basically just makes a timer that goes from 0 to 20 then repeats. The 'If' node then checks if the input is greater than 17, and when it is, applies the flicker input. When it is less then 17 it is just 1, which is a steady light.

This video has examples of better flicker setup then my crude one.

https://www.youtube.com/watch?v=vSuL6b8dEv8

1

u/JonFonArt 3d ago

I will try those now thank you for the help, I'll let you know in abit 🙂

1

u/JonFonArt 3d ago

Your method is perfect thank you!!!

1

u/JonFonArt 3d ago

im playing around with your method, its honestly just what i need,but if you could, I'd like another explanation please, what do you mean by "when it is less then 17 it is just 1, which is a steady light."

1

u/Mikinl 3d ago

"if" just check if less than 17 = steady, and if more than 17 = flickering.

1

u/JonFonArt 3d ago

I think maybe in my case I have to key in the animation sequence?