Random sorting of random table values (HELP)

DoguzDoguz Member Posts: 500
edited June 2012 in Working with GS (Mac)
Hi, I've pulled all my hair out and for the life of me not work this one out. Please can a table guru take a look.

Here is what i have:

3 blank panels on the left
3 blank panels on the right

These panels can accept images from my library (e.g. by changing image attribute)

I have 20+ images and I have the names of these images in a table.

When I have an event triggered (let's call it shuffle), I need this to happen:

5 randomly generated images to exchange with the blank panels in a random order, with 1 that is randomly duplicated so that there is one the same on each side.

I need this to happen each time the event triggers.

I've got this working with read-only tables but I need to write all the 'possible' faux random outcomes. With writable tables I should be able to do 'real' random. (shouldn't I?)

Here are 20 panels of art that can be used for testing:
https://dl.dropbox.com/u/2867898/20panels.zip

I hope somebody has the right amount of Table / random knowhow to help out.

Doguz

Comments

Sign In or Register to comment.