Forum: Poser Python Scripting


Subject: Script to randomize a dial

nerd opened this issue on Jul 23, 2010 ยท 7 posts


PhilC posted Fri, 23 July 2010 at 5:32 AM

random.random() will generate a random number between 0.000 and 1.000 however there are other ways to generate a random number which you may want to play with.
random.randint(a,b)

This will produce a random integer N such that a <= N <= b.

Just play around with it :)

Hope that helps.