ID:157794
 
I want to create a skin that has two buttons on the interface, and when I click one, onee iventory is shown, and when i click the other, if there is an iventory showing, it will be hidden, and the other one will be show. I dont know... It just seems like there arn't any very good skin tutorials. Ive looked @ lummoxes but I dont think it would teach me what I need....
I think this might be what you're looking for...

        the mob   window with     name of the         set true
| the inventory inventory control or false
V V V V
winset(usr.client, "myWindow.myInventoryControl", "is-visible=false")


You use "winset()" to tell the interface what to do. What this is doing is setting usr's inventory to either be visible, or not be visible (whether you put "true" or "false").

It's always a good idea to read through the tutorials anyway because they will teach you other helpful things. It's always good to learn more.


~Polatrite~
In response to Polatrite
0= i was hoping to make something of a pokemon game =D