Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: tilapisha on Thu 21/04/2022 01:29:47

Title: [Solved] Help! Use inv suddenly not working?
Post by: tilapisha on Thu 21/04/2022 01:29:47
Hi all,

I was testing my game for things I wanted to change, and now when I click on inventory items, I can't even use them, and the cursor doesn't change. I tried reverting back to an older version that was working, and still nothing. I also redownloaded AGS 3.5.16 to see if something was not working, but no luck.

Can someone check if the inventory in the icon bar is working on their computer? This is the source code: https://github.com/lishap/gobyworld/ (https://github.com/lishap/gobyworld/)

I am supposed to play test this tomorrow, so please let me know!  ??? :(
Title: Re: Help! Use inv suddenly not working?
Post by: Crimson Wizard on Thu 21/04/2022 02:00:02
You have an option set in General Settings called "Override built-in inventory clicks in script", and it's enabled. But your script does have anything for inventory clicks in "on_mouse_click".

EDIT: you changed this setting few commits ago, in commit called "wheel o fortune".
Title: Re: Help! Use inv suddenly not working?
Post by: tilapisha on Thu 21/04/2022 02:26:41
Life saver!! Must have been that sneaky mouse wheel. I appreciate it, thank you!