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

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    That's a lot of code you're asking someone to write.
  • DoguzDoguz Member Posts: 500
    Thanks @fryingbaconstudios for your help. When can I expect the file?
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    When I get the check.
  • DoguzDoguz Member Posts: 500
    Ha ha, So you do have a sense of humour. I thought you were a grumpy old man with a chip on his shoulder.

    But seriously if I need help with something, surely this is the place to come, without being disheartened on the way.
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    Lol of course I do but my humor is usually sarcastic as Bugs Bunny is my hero...I used to be a comedy writer and no chips only dandruff.
Sign In or Register to comment.