Hey everyone, essentially I have a light in my game that flickers to a different alpha:
image_alpha = random_range(0.35,.5);
draw_self();
However, it just constantly flickers, and is too fast. I'm trying to find a simple way to randomize WHEN it flickers, so that it only happens every 2-6 seconds or something like that?
I've tried setting up some sort of random alarm, but I'm not able to figure it out, any suggestions? Thanks in advance.
image_alpha = random_range(0.35,.5);
draw_self();
However, it just constantly flickers, and is too fast. I'm trying to find a simple way to randomize WHEN it flickers, so that it only happens every 2-6 seconds or something like that?
I've tried setting up some sort of random alarm, but I'm not able to figure it out, any suggestions? Thanks in advance.