Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Misadventure on Mon 03/03/2025 21:14:05

Title: Displaying Objects like Hotspots
Post by: Misadventure on Mon 03/03/2025 21:14:05
Hi there,

I have looked for over an hour for a solution here and read the Tutorials, so I apologise if I've missed something

I've just started up using AGS and I'm using the VerbWheel template used in the Tutorial to get to grips with the engine.

When I hover the mouse over the character it says the name of the character at the bottom of the screen.
When I hover the mouse over a hotspot it says the name of the character at the bottom of the screen.
However, it does not do this for objects. Is there a quick and easy way to do this?

I have looked in the Global script and the GUI scripts but to no avail.

 I have searched for ages. I am sure it is a quick fix - thank you.
Title: Re: Displaying Objects like Hotspots
Post by: Khris on Mon 03/03/2025 22:08:43
Did you enter a "Description" for the object in its properties? Because that is what the Verb Coin template displays for objects (using Game.GetLocationName() in VerbCoin.asc's repeatedly_execute()).

If you do have entered a description and it still doesn't show up, make sure the object is clickable and not covered by something like a walkbehind(?) or invisible GUI.
Title: Re: Displaying Objects like Hotspots
Post by: Misadventure on Tue 04/03/2025 07:06:13
I hadn't entered a description! I feel so silly as it was a really simple fix.
Thank you for letting me know where that appears in the code as well. That'll be helpful for later on.