How do I? Tables/simultaneousRandomWordDisplay

kolabokolabo Member Posts: 240
edited February 2012 in Working with GS (Mac)
I'm stuck on making a Hidden Object Game using tables.
Need to display 3 words from a table randomly at the same time.
Each word should be different.

My approach has been to make 3 attributes (Word1, Word2 and Word3) and an actor (Actor1, Actor2, Actor3) to display each word. Each actor has a rule to randomly display a word from the same table (Table 1). This part works find.

I can't get the "each word should be different" part.

I've written rules to change attributes for Word2 and Word3 if they match any of the others, but just don't seem to get it right.

Any ideas?

Comments

  • Rob2Rob2 Member Posts: 2,402
    edited February 2012
    Have three tables ? Is the easy and low power way.
  • Rob2Rob2 Member Posts: 2,402
    Using the this "word has already been chosen method" is processor intensive and in theory can go on forever :)
  • Rob2Rob2 Member Posts: 2,402
    edited February 2012
    If you have three tables then randomly choose which table to start on of the three and then cycle to the next and the next for the other two words. No slow down comparisons needed with potential long loops.? I'm probably over baking the pitfalls here but you see the idea ?
  • kolabokolabo Member Posts: 240
    OK, i didn't think of that.
    If I get you right, each table would have a different set of words???
Sign In or Register to comment.