Scrolling Inventory
![rayneofsorrow](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
Ok, given I just got started yesterday, I think I'm doing fairly well with everything. My goal right now is to set up an inventory box that moves in from offscreen after you click on the inventory button. Now I've got up to the point that I have an attribute that represents the state of the box being true or false. When its true, if you click on the button, the box moves onto the screen. My problem is: When I try to set up the opposite of the action (namely if you click the button and the value is true, then the box moves offscreen) the whole setup doesn't work. When I click on the button, nothing moves one way or the other.
The button works if it doesn't have to close the box after its opened.
Any insight into what I should do?
The button works if it doesn't have to close the box after its opened.
Any insight into what I should do?
Comments
In it you will notice the button has a text value of 0 or 1 I use this just to show that the trigger is working and it is a good technique to use in your projects when setting them up to make sure your attributes are changing as you expect. Also take a look at the trigger rules and see if that matches what you had.