Like I saw from some games, like the Batman-ish AGS game..
I would like to have my inventory ready to rock and roll in the GUI's bar..
any of you know the script for this and where in the GUI edit script should i put it..
help appreciated..
DonB
Roxy Fox Adventures
Make a new GUI.
Choose the bag button.
Click'n'drag to make your gui how you want it, change inventory dimensions for the specific item sizes.
Done.
Thank you!
The most important thing you needed was right there in the manual:
Quote from: Editing the GUIsThe "Visible" property allows you to set when the GUI is displayed. The default is "Normal", which means that the GUI will initially be visible, though you can turn it off with a GUI.Visible=false command in game_start if you need to.
By default, a new GUI will be set to 'Normal' visibility, while the existing Inventory GUI is 'Popup Modal'. If you have any rouble setting up a new Inventory GUI, you could always edit the layout of the one that's there to suit, and change it's Visibility type.
Where can you change this viewability
GUI editor window.
Select the GUI you want to edit from the list, and 'Visibility' is on the floating Properties box (along with X position, Y position, width, height, etc).
But - like I said - if you make a new GUI, it's set to 'Normal' by default, so you don't need to change it just yet.
(http://img223.imageshack.us/img223/2290/popupone0xo.png)
(http://img223.imageshack.us/img223/2165/popupone20qz.png)
Hmz.. I got a default bar.. with all buttons in it, also an inventory button, can i change this inventory button in a button in which you see and can use all your inventory items? just like my first question, I'm just a noob in this program and the tutorials cant help me out too, you gotta have patient with me :P
I can see now where i can change visability, its on normal, by the way, just like you said..
EDIT:
Yeh thanks for the screenie, I got that part now, got it on normal, but maybe Im entirely wrong but..
I am in the ICONBAR now.. theres a button with inventory, and there i would like to have my inventroy opened.. I got a INVENTORY bar too indeed..
Ahh man.. lol
EDIT 2:
Maybe I aint clear in explaining.. but your help is appreciated much guys..
Quotetheres a button with inventory, and there i would like to have my inventroy opened
You mean you want this button to open the Inventory GUI, or you want the inventory to actually BE there?
It should open the Inventory by default, but if you're using a different GUI you'll need to change it a little. Either double click the button (in the editor) to get at it's script, then chnage that to turn your GUI on,
or edit the
show_inventory_window[/i function (near the top of the global script) to turn your GUI on, instead of gInventory.
If you want the Inventory to be there, you're going to have to be a little more specific about how you want it set up. Try reading through the tutorials again - they may tell you exactly what you need to know, but they should give you a few basic ideas.
Also, please don't double post in future - the 'Modify' link is there for a reason.
Yeh soz, will remember that, and thanks a lot for all your help, I do want it to be visible all the time.. and it's working a bit more now, gonna check it out a little and let you know how it is by sending you a screenshot :)