3DS MAX: 3ds Max Forum 3ds Max Tutorials

float expression / float script - random number

COW Forums : Autodesk 3ds Max

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Jamie Bradshawfloat expression / float script - random number
by on Aug 22, 2009 at 10:16:51 am

Hi all.

I'm pretty much a novice when it comes to Maxscript so please bear with me.

I'm trying to generate a random value for a Material ID. I've tried assigning a float expression and float script to it but neither of them seem to recognise the code:

random(0 6)

Can anyone help?

Thanks,
Jamie

JimJam•Graphics
http://www.jimjamgraphics.com/


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]