View Single Post
# 11 04-07-2003 , 08:35 AM
kbrown's Avatar
Moderator
Join Date: Sep 2002
Location: London, UK
Posts: 3,198
Here's a little tip. If you use the seed() function you can be sure your expression with rand() functions run always the same way.

Code:
{
	seed(1234);

	float $foo = rand(-5, 5);
}
The $foo will contain a random value, but it is allways the same in a given frame...


Kari
- My Website
- My IMDB

Do a lot, Fail a lot and Learn a lot!