There is a new version of the forums ready for testing. Please post here if you're willing to help test! We could also use the help of coders!

Author Topic: BASS Template - Inventory "Always Shown" not working  (Read 165 times)

Hello!

I am working with the BASS template, and would like to have an inventory GUI displayed at all times.

However, when I set the GUI to "always shown" it is only shown briefly when the room is loaded, and disappears again. It does display when the mouse cursor crosses a y-coordinate around the top fifth of the screen.

I was led to understand from this post that the issue probably lies in the BASS template script. I was hoping that someone might be able to point me to the specific section of code that's overriding the "always shown" and forcing the hover-to-show behaviour.

Thanks!

Re: BASS Template - Inventory "Always Shown" not working
« Reply #1 on: 10 May 2022, 07:54 »
Leave the visibility set to "Normal", switch Visible to "True", then open TwoClickHandler.asc and comment out line 226:

Code: Adventure Game Studio
  1.     // interface_inv.Visible = false;

Re: BASS Template - Inventory "Always Shown" not working
« Reply #2 on: 10 May 2022, 08:30 »
Thanks, Khris!

It was line 242 in the version I have, but getting rid of that line in the TwoClickHandler script seems to have done the trick!