Table cell Min/max

ashtmjashtmj Member, PRO Posts: 405
edited June 2012 in Working with GS (Mac)
is there a way to select a between few table cell values at once?

say i have a table with 10 rows going 1 through 10 can I have one rule that works that if the player selects any number 1 trough 10 it will trigger an event without making 10 different rule conditions? I'm assuming there is a max/min solution that I'm just missing

Thanks again

Answers

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    I don't understand what tables have to do with this. Can you explain it a bit more?

    You can do When game.attribute >= 1 AND game.attribute <=10 ... [do whatever].

    Is that what you're looking for?

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • ashtmjashtmj Member, PRO Posts: 405
    I should have explained better, sorry.

    lets say I have a text table with 3 rows, each row as a animal type dog, cat, bird,

    then the player is asked a question, "name a type of animal" can I have one condition which would allow the player to advance by typing any of the animal types listed within the table?

    so as long as they type in one of those 3 animals listed on the table they win?

    or do I need to make 3 conditions then select "any" rather then "all" like so:

    Any conditions valid
    if text = table cell, row 1(dog) col 1
    if text = table cell, row 2(cat) col 1
    if text = table cell, row 3(bird) col 1

    hope that makes more sense :)

    Thanks as always guys!
  • ashtmjashtmj Member, PRO Posts: 405
    oh man... :(
    This is gonna take awhile :)

    Thanks for the help anyway
    -Ash
Sign In or Register to comment.