Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: LucasFan on Mon 19/01/2004 19:31:20

Title: Hotspots and Regions
Post by: LucasFan on Mon 19/01/2004 19:31:20
AGS doesn't display the name of a hotspot, if there's a region at the same place. How can I fix that?
Title: Re:Hotspots and Regions
Post by: Dorcan on Mon 19/01/2004 23:45:24
You're using "@OVERHOTSPOT@" right? Strange, I don't have this problem with AGS 2.6 (not sp1)
Title: Re:Hotspots and Regions
Post by: Darth Mandarb on Tue 20/01/2004 02:26:18
What/Where are you displaying the name of the hotspot?

I have hotspots that are in the same spot as regions.

I have it do this when you mouse over the hotspot

Run Script:

SetGUIPosition(6,mouse.x,(mouse.y-10));
SetLabelText(6,0,"The Description Here");
GUIOn(6);


This makes the text label inside GUI 6 say whatever you tell it to and positions GUI 6 to just above the cursor.  It doesn't give me any problems, even being in the same spot as a region.

Perhaps a little more complicated than @OVERHOTSPOT@, but you might want to try something like this?

])]V[
Title: Re:Hotspots and Regions
Post by: LucasFan on Wed 21/01/2004 10:08:03
Doh! I found my mistake. Thanks anyway.  :)