Resetting Everything in a Scene

Hi guys,
I'm still working on my memory-type game. I have tables set up where it chooses from a random row, deletes that row, then puts all of those values into another table. I have 24 cards that pick from this second table. Within each card there is a rule that tells it to grab a value and then delete that value from the second table. I'm trying to make a button that will reset the entire scene. The problem I have is that it is reseting the card values but not redoing the process of picking values from the tables again. Can someone please help me? If you need more details just let me know.

Thanks,
Tad

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    I assume your "choose a random row" rule has a condition. That condition (or an additional condition) can be toggled, for example false-->true-->false. Once it is changed to true, it should run that rule again.

    What have you tried?
  • FlamingbananaFlamingbanana Member, PRO Posts: 90
    @tatiang I only have a condition that tells to choose from a certain table depending on what the user chose. I don't have a rule like you suggested but I will try that.

    The only other thing I have tried is changing most of the attributes to scene attributes compared to game attributes.
  • FlamingbananaFlamingbanana Member, PRO Posts: 90
    Never mind! Got it all fixed. I had to reset the tables because I'm deleting rows from them.
  • ElfizmElfizm Member Posts: 489
    Yeah you just have a master table that you copy into your normal table when ever you want to reset.
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    That works fine but you can also use my randomize-in-place method if you like: http://forums.gamesalad.com/discussion/53553/demo-randomize-table-rows
Sign In or Register to comment.