I have implemented a feature into my game which displays a hotspots name over each hotspot when the mouse scrolls over it (with help from some of you guys).
The code is for if mouse is over hostpot is:
SetGUIPosition(0,mouse.x+13,mouse.y);
GUIOn(0);
Sadly this creates another problem. Once the cursor has been held over a hotspot, the current mouse mode locks. For example if it was on look mode, it stays on look mode after the first time the above has been done, and the right mouse button does not change the mode any longer:(
I have not altered any of the cycle cursor functions in the games global script - any advice?
Thanx
Does it work again once you do GUIOff(0); ?
If so, you might want to change GUI 0's setting to Normal instead of Popup Modal.
Thanx CJ, changin it to normal did the trick :)