Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Thu 12/06/2003 00:48:27

Title: Disable Inventory button?
Post by: on Thu 12/06/2003 00:48:27
Hi, how can I disable the Inventory button on the GUI, so the window can't be opened during the title screen? Thanks.
Title: Re:Disable Inventory button?
Post by: Scummbuddy on Thu 12/06/2003 16:16:56
In the room interactions of before char enters room, place
------------------------------------------
GUIOff
GUIOff (int gui_number)

Turns GUI number GUI_NUMBER off. It will no longer appear on the screen (or, if it is a pop-up GUI, it cannot be popped up).
Example:

GUIOff(2);

will turn GUI 2 off .
NOTE: This function used to be called InterfaceOff but has now been renamed to avoid confusion.

See Also: GUIOn

-------------------------
Title: Re:Disable Inventory button?
Post by: on Thu 12/06/2003 18:55:17
Thanks for the help, I appreciate it. :)