Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: shaungaryevans on Thu 30/04/2009 18:29:31

Title: Tab button,
Post by: shaungaryevans on Thu 30/04/2009 18:29:31
When I press the Tab button on my keyboard, the inventory windows will pop up and the curson change to the pointer. Now, I disable the tab so it don't show the invertory window, but the pointer still change, and i don't want this. Does anybody know how to turn the tab button completely off.
Title: Re: Tab button,
Post by: Trent R on Thu 30/04/2009 18:39:18
What's your on_key_press code look like?

~Trent
Title: Re: Tab button,
Post by: shaungaryevans on Thu 30/04/2009 18:40:42
if (keycode == eKeyTab)   show_inventory_window();  // Tab, show inventory
Title: Re: Tab button,
Post by: shaungaryevans on Thu 30/04/2009 18:45:21
Never mind, done it now