Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Swamp Witch on Tue 13/09/2005 00:48:20

Title: Inventory Item displayed in popup
Post by: Swamp Witch on Tue 13/09/2005 00:48:20
Is it possible to have a pop up box/gui that will display the inventory item that was just picked up?
Title: Re: Inventory Item displayed in popup
Post by: simulacra on Wed 14/09/2005 10:53:22
Yes, make a GUI with a large button and set the Text to "(INVSHR)". When the player picks up an item, set the active inventory item to the item picked up and display the gui. When the gui is clicked, turn it off.
Title: Re: Inventory Item displayed in popup
Post by: jamesreg on Tue 22/09/2009 13:23:42
Still confused on this I can not seem to find much info in the manual on the (INVSHR) command or how to use it
if thats the correct command for what I want to do.

I have small gui with two side by side buttons one button displays the character portrait of the active player the other button I plan for it to use the currently selected inventory item.

if (INVSHR) is the command i have not found much documentation on how to use it or where I would need to use it.
could anyway be able to add more to this.
Title: Re: Inventory Item displayed in popup
Post by: Khris on Tue 22/09/2009 14:14:18
It's not a command. Set (INVSHR) as the text of the GUI Button.