Hotspots and Regions

Started by LucasFan, Mon 19/01/2004 19:31:20

Previous topic - Next topic

LucasFan

AGS doesn't display the name of a hotspot, if there's a region at the same place. How can I fix that?

Dorcan

You're using "@OVERHOTSPOT@" right? Strange, I don't have this problem with AGS 2.6 (not sp1)

Darth Mandarb

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[

LucasFan

Doh! I found my mistake. Thanks anyway.  :)

SMF spam blocked by CleanTalk