GUI inventory button help (solved)

Started by myname, Tue 06/11/2012 16:41:02

Previous topic - Next topic

myname

So, in my inventory window I have 4 buttons: look, interact, select, and exit.  The look button works great but the interact button just selects the object and the select button rarely works.  This is the script I have for the interact button:
{
   mouse.Mode = eModeInteract;
   mouse.UseModeGraphic(eModePointer);
}

I know I am missing something obvious and have looked through the index and tutorial but I'm really at a loss.  Thank you in advance if anyone can help.

Khris

If the game is set to default inventory handling (the option is in General settings), interacting with an item will select it, not trigger the "interact with item" event.
This problem has been solved numerous times already, please use the search function. Just search for "interact with inventory" and something relevant should come up.

myname

Thanks for the help Khris.  I'll choose my search parameters better in the future.  Thread can be closed.

SMF spam blocked by CleanTalk