由 stantang » 9日 10月 2008年, 08:58
Wildseven, thanks for pointing out the errors, I didn't have Maya opened and was late at night when replied, haha my mistake. Anyway, to add to the answer, you can't even choose integer when creating PP attr now (I think it used to be available...). Second, you can add trunc() function to the rand() to round up the float to integer if you want, but it won't make a different in this case.
dig deep, think deeper