bug? Random function in timers doesn't work

PPenguinPPenguin Member, PRO Posts: 110
edited November -1 in Tech Support
I'm trying to have an event occur at a random interval.

I have 2 attributes, MaxTime and MinTime. I've set both of these attributes to decrease by 1 every 15 seconds.

I have a timer elsewhere that spawns an actor every "random(MinTime,MaxTime)"

So for example, MaxTime = 8 and MinTime = 5, an actor should spawn on repeated intervals of somewhere between 5 and 8 seconds.

After I set it up like this, the actor spawns every 6 seconds on the dot, even as MaxTime goes to values of 5 and lower..

Anyone else have trouble with the random function in timers?

Comments

Sign In or Register to comment.