" @overhotspot@ " behind the mouse

Started by GermanDaniel, Sun 14/12/2003 14:05:17

Previous topic - Next topic

GermanDaniel

If one comes with the mouse over a object or a hotspot, then is the name of the object beside the mouse or object.  How can that be done?

Scorpiorus

Make a normal GUI with a label. Set label's text to @OVERHOTSPOT@. Now when ever you move the mouse cursor over a hotspot it's name is shown on the label.

~Cheers

GermanDaniel

The objectname must be writen next to the Mouse.

Scorpiorus

Make that GUI comletely transparent. Then in repeatedly_execute():

SetGUIPosition(GUI, mouse.x+5, mouse.y-5);

~Cheers

SMF spam blocked by CleanTalk