Noob for loop help!
Hi,
I'm hoping some one can help... I'm attempting my first max script, so excuse my ignorance!
I would like the script to create a hair that grows from an object... I have achieved this. What I would like to now do is use a for loop so it can repeat that operation with random seeds I seem to have a problem with the variables.. I've attached a screen grab.. could any one advice on how I should write that part?
many thanks,
Matt
Attachment | Size |
---|---|
screengrab.jpg | 373.62 KB |
Comments
.
.
Error
Can you provide us the error that it returns.
If i understand correctly you need to loop 5 time and each time assign random values to hair ? I think your error comes from the loop declaration.
Try to replace this :
with this :
This is a working chunk of code that will loop 5 times before exiting.
thanks for that...great help
thanks for that...great help :)