I seem to be struggling with what should be a basic thing in my game. All I want to do is have a description of a hotspot when the mouse moves over it. I've tried googling the problem, searching the forums and checked the begginners FAQ and found nothing, not to say there's nothing there, it's just that I don't know where I should be looking for an answer.
I did find some lines of code, but I'm not very knowledgable with code and they didn't seem to work. I'm sure this question has been asked before, all I'm asking for is to be pointed in the right direction.
Cheers!
I struggled with this only a couple of hours ago and it turns out the 'fix' is actually pretty easy!
What you need to do is create a GUI label where your hotspot description will be shown and, after setting up its design and layout, enter "@OVERHOTSPOT@" (without the quotation marks) in its 'Text' field (under 'Appearance' in the GUI's properties section).
That should work. You don't really need any other code in version 3.x. There are other 'special markers' which you can read about if you search for "Editing the GUIs" in the index.
Ah thats superb! Cheers buddy!
Glad I could help :P
For future reference, you can also use this module (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=26306.0) to plug any sort of description label straight into your game :)
And you can use Game.GetLocationName(mouse.x, mouse.y) if you want to alter the description in any way before displaying it.