something like if/else statements

bluelotusbluelotus Member Posts: 96
edited November -1 in Working with GS (Mac)
New to gameSalad :P

I have two buttons, if either is pressed separately then they light up individually, if both are pressed and held an animation is triggered.

Any thoughts?

Comments

  • scorelessmusicscorelessmusic Member Posts: 565
    I was hoping for something like CASE statements :D
  • bluelotusbluelotus Member Posts: 96
    Figured it out. Using an integer Attribute for each. When both attributes = 1 then animation starts. :) yay for me!
  • iPhoneDevForMeiPhoneDevForMe Member Posts: 362
    Also worth mentioning, every rule you create have a little drop down arrow at the very bottom that says "Otherwise"

    A lot of people do not see this, but it functions just like an if/else statement.

    Welcome to GameSalad by the way!
  • bluelotusbluelotus Member Posts: 96
    Thanks!
Sign In or Register to comment.