Itoo Software Forum

RailClone => RailClone Pro (*) => RailClone Pro 1.x => Topic started by: Richard Birket on November 23, 2010, 10:57:27 AM

Title: Random material ID
Post by: Richard Birket on November 23, 2010, 10:57:27 AM
Could you explain offset material ID a bit more please?

I am creating a curb (how exciting!), and want to have 5 different materials applied. Do I set the random offset from 0 to 5 or 0 to 4?
Title: Re: Random material ID
Post by: iToo on November 23, 2010, 01:30:52 PM

You must use 0 to 4. The value is added to the current material ID. So, the range goes from ID+0 to ID+4.

We use this method instead assigning directly a material ID, because it can be used to randomize groups of materials in a multi-sub (see the help reference).