Could "random" generates a random value every seco

Moderators: Disciple, zlovatt

Post Reply
hexart
Posts: 6
Joined: March 9th, 2005, 7:43 pm
Location: China

"Random" usually generates a value on every frame, but I only need the random value on every second or more. How could I use it?
davestewart
Posts: 114
Joined: March 10th, 2005, 5:50 am
Location: London, UK
Contact:

Try this:

Code: Select all

posterizeTime(1);
random()*50
"1" is the frame rate you want the expression to evaluate at, in this case, once every second.
Post Reply