Adding Interact to Inventory?

Started by cece0808, Mon 26/12/2005 18:43:01

Previous topic - Next topic

cece0808

Yeah i know there's at least one another post from this very same subject, but i was unable to get my inventory interactions working.

So can someone who knows what to do, give me step by step instructions how can i make a working INTERACT button to my inventory!

thx alot! AGS's great!

petazzo

Go to the gui section and select the inventory gui. Then make a new button, give it a name ("Script name" in the control window) and double click on it to open the global script window. Put in the button section these lines
Code: ags

mouse.Mode = eModeTalkto;
mouse.UseModeGraphic(eModeInteract);

Then, when you want to add interaction choose "Talk to inventory item" and not "Interact...".
I think you should also read this.
I never forget a face, but in your case I'll be glad to make an exception.
(Groucho Marx)

SMF spam blocked by CleanTalk