I know this has been covered allot before but....
Could we go over again how to create an inventory window with working scroll bar/buttonsÃ, ;)
all the threads i've read so far, seem to be from people who are half in to it, but where do you start. For example this bit :-
//Ã, DEFAULT INVENTORY WINDOW
//Ã, InventoryScreen();
//Ã,Â
//Ã, Ã, CUSTOM INVENTORY WINDOW
//Ã, Ã, GUIOn (1);
which do i go forÃ, ???
and where do i go from there ???
thanx
Global Script, look for line "function show_inventory_window() {". Then just change the commenting, and examine the inventory GUI set in the GUIs section. The interface_click function in the Global Script covers the mouse button functionality, under the conditional "if (interface==INVENTORY) {"
I normally just copy the copy for the scrolling buttons in the default inventory.
Hi, I have another little problem, and i didn't know where else to post it so, you know when you set the Cursor Mode. example :-
SetCursorMode(MODE_LOOK)
How many different type are there, the manual doesn't say, i'm looking for the Interact mode, but MODE_INTERACT doesn't seem to work :-(
i did a quick search in the manual, and i found this in the ProcessClick function:
Available cursor modes: MODE_WALK, MODE_LOOK, MODE_USE, MODE_TALK, MODE_USEINV, MODE_PICKUP.
So i suppose you want MODE_USE : )
EDIT: you can also set/check modes using their number
Which file (manual) did you use ??? maybe i'm using the wrong thing :o
the help file that comes with AGS, the one that you open by pressing F1 : )