Page 1 of 1

random number only once?

Posted: February 9th, 2006, 7:27 pm
by Tread
How can I generate a random number at frame one of a composition and always remain that value?

the random function does it every frame.

thanks

Posted: February 11th, 2006, 6:35 am
by Mylenium
You need to "freeze" the random seed with whatever means you want. I usually resort to the index

seedRandom(index, true)


Mylenium