How to get a rule 'refired'?

DoguzDoguz Member Posts: 500
edited June 2012 in Working with GS (Mac)
I have a 'round rules' type actor (see @tshirtbooth) that has a set up like this:

When game.shuffle is true - change 5 table cell values - randomly taken from a list of text values within another table. (got it working real sweet)
Then put those words into 5 text attributes - so that I can compare them for duplicates.

If there are any duplicates I need the rule to refire. Until there are no duplicates, then continue on with the rules.

It seems I can't just change game.shuffle to true again because it doesn't go back 'UP' the order to refire.

Just had a thought while I was typing. Do i need 2 'round rule actors' to ping pong off each other?

-Doguz

Comments

  • DoguzDoguz Member Posts: 500
    Because I need it still to be available as the game goes on. Just no duplicates 'per puzzle'
  • DoguzDoguz Member Posts: 500
    Thx tshirt, but I think I've gone too far to change it so that this fits. I'll just copy the behaviour and paste it below, so that if it finds a duplicate it'll run again. I know it may find another, but it's a double chance of not duplicating. The odds must be high enough.
  • MobileRocketGamesMobileRocketGames Member Posts: 128
    thats ok :)

    this is what you do.

    make your table call it MASTER TABLE
    then make another table call it WORK table

    use the copy table behaviour to copy master to work

    then you can remove as you pick.

    when you need it all back to normal

    use the copy table behaviour to copy master to work again

    :)

    Very efficient and clean solution.
Sign In or Register to comment.