Well im making my skin but i don't know how to:
Make a button that when the player clicks it a popup appears with something written in it.
When the players click on inventory button it appears their inventory.
Thanks
ID:156566
Sep 5 2010, 3:06 pm
|
|
Sep 5 2010, 3:44 pm
|
|
You need to either read some skin articles under Developers-Articles, or search information about adding images to client.screen, and using Click().
|
One possible solution is to attach commands to the windows or controls.
For example, Say you have a button on the main window (a window with "default" checked in its settings) and you want that button to open up another window which is the inventory. You can set the mob's verb to do this: mob You would of course need to make two windows in the interface file in order for this to work. In the button's settings (placed on the main window) you would have to go to the "Options" tab, and look for a field called "Command:" Then, you can enter the verb into that field. But, the command will be entered differently than it does in DM code. VERB: Open_Inventory() COMMAND: Open-Inventory Type "Open-Inventory" into the "Command" field and hit OK to change the settings. When playing your game, this should open up the inventory window you made. |
In response to Makeii
|
|
Thanks Alot
|