I made a Textlabel in a GUI that follows the Cursor.
gLblhotspot is the name of the GUI.
lblHotspot ist the name of the textlabel.
function repeatedly_execute() {
gLblhotspot.SetPosition(mouse.x, mouse.y);
lblHotspot.Text = Game.GetLocationName(mouse.x, mouse.y);
}
This works, but at the end of the text, an underscore is always displayed.
e.g: tree_ (when cursor is over a tree)
I use imported fonts, but the problem also occurs with the standard fonts. In other text (textwindow, dialogs) the underscore does not appear.
Are you sure you're using a Label and not a TextBox?
*Kick me I'm stupid*
Problem solved
It's okay. Everybody makes mistakes sometimes. 8)
Glad I helped get it sorted out.