Creating a Settings Bar

carlblanchetcarlblanchet Member Posts: 755
edited July 2012 in Working with GS (Mac)
So I am trying to make a settings button that once pressed a settings bar comes out of the settings button, and once pressed again, the settings bar goes back in. I tried using an integer attribute so that when pressed it goes from 0 to 1 then back to 0 etc. This works great, other than the fact that when the scene starts it is right away on 0 I guess, which makes the bar animate out without the button being pressed.

How can I fix it so that nothing happens when the scene starts until the settings button is actually pressed?

Thanks!

Best Answer

  • RumiRumi Posts: 343
    Accepted Answer
    Make sure the attribute is not a game attribute ( a scene or actor type) or is probrammed to be zero at the beginning of the scene via a change attribut behavior. Then, instead of having it go from 0 to 1 and back to 0, have it go from 1 to 2 and back to 1.

Answers

Sign In or Register to comment.