How do you instruct Railclone to choose a new segment based on the last segment? As a simple example: Suppose you randomize five colored squares along a line (purple, yellow, green, blue, red). However, every time a green segment comes up, you want, say, a 60% chance that the NEXT segment in the series will also be green. This would create random colors except when green appears, in which case you would have longer strings of green in a row due to the probability they'll appear next to each other.

Is it possible to do this? I've tried to create this with variables, but variable values seem to fall off every time the Arithmetic is evaluated. I've also tried to wrap my head around ways of using Sequence or Compose, but nothing quite works.

If the above is not possible, I'd even be happy with this scenario: If a green appears, then the next x segments are also green (where x is, say, a random number between 3 and 10). Slightly different but would get me a similar effect.

Any help out there? Is there a way to let Railclone "know" what the last segment was in order to inform the next?

I'm including a max file just to get things started

Thanks,

Tony

Is it possible to do this? I've tried to create this with variables, but variable values seem to fall off every time the Arithmetic is evaluated. I've also tried to wrap my head around ways of using Sequence or Compose, but nothing quite works.

If the above is not possible, I'd even be happy with this scenario: If a green appears, then the next x segments are also green (where x is, say, a random number between 3 and 10). Slightly different but would get me a similar effect.

Any help out there? Is there a way to let Railclone "know" what the last segment was in order to inform the next?

I'm including a max file just to get things started

Thanks,

Tony