Sprite Random Scale Help


#1

Hi,

I keep getting syntax error with the following expression, any ideas on what could be wrong ?

particleShape1.spriteScaleXPP=rand(.1,5)
particleShape1.spriteScaleYPP=particleShape1.spriteScaleXPP

BTW, ignore the space at the end of the line, doesn’t matter how many times I edit this post, it’s still putting that space in for some reason, needless to say, it’s not in the expression within Maya.


#2

possible missing semi-colon at the end of the line?


#3

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.