Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Cluey on Mon 02/08/2004 22:41:52

Title: This may seem like and obvious question but...
Post by: Cluey on Mon 02/08/2004 22:41:52
How do I make it so that the game has a message to show you what your mouse is on?  Like in the SCUMM engine where you had a text bar saying "Grandfather Clock" when your mouse went over it?
Title: Re: This may seem like and obvious question but...
Post by: Mr Jake on Mon 02/08/2004 23:38:57
@OVERHOTSPOT@
Title: Re: This may seem like and obvious question but...
Post by: Cluey on Tue 03/08/2004 20:24:44
got it now
thanks :)
Title: Re: This may seem like and obvious question but...
Post by: Ishmael on Wed 04/08/2004 17:28:32
Knee-deep in the statusline business:

http://www.adventuregamestudio.co.uk/yabb/index.php?topic=14369.0
Title: Re: This may seem like and obvious question but...
Post by: Phemar on Wed 04/08/2004 19:28:51
You could also go:

string name;
GetLocationName (mouse.x, mouse.y, name);
SetLabelText (int gui, int object, name);

EDIT: This may sound vain, but check here: http://www.adventuregamestudio.co.uk/yabb/index.php?topic=15771.0
Title: Re: This may seem like and obvious question but...
Post by: Ishmael on Wed 04/08/2004 20:42:47
To me it sounds vain... your script does the same as @OVERHOTSPOT@...
Title: Re: This may seem like and obvious question but...
Post by: Phemar on Thu 05/08/2004 07:58:22

Well it never used to. But that's not the point, it looks like Clueless is trying to replicate SCUMM, so I pointed him in the direction of my LEC template, so he can cut and paste and use whatever script if he wants to.
Title: Re: This may seem like and obvious question but...
Post by: Cluey on Mon 09/08/2004 21:45:08
Im not trying to replicate SCUMM, It's just my brother was testing it, and got frustrated not knowing what was interactive..