Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Reaper on Tue 17/10/2006 18:25:14

Title: Unwanted Underscore in Text Label (SOLVED)
Post by: Reaper on Tue 17/10/2006 18:25:14
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.
Title: Re: Unwanted Underscore in Text Label
Post by: monkey0506 on Tue 17/10/2006 18:59:30
Are you sure you're using a Label and not a TextBox?
Title: Re: Unwanted Underscore in Text Label
Post by: Reaper on Tue 17/10/2006 22:52:45
*Kick me I'm stupid*

Problem solved
Title: Re: Unwanted Underscore in Text Label (Solved)
Post by: monkey0506 on Wed 18/10/2006 02:54:20
It's okay. Everybody makes mistakes sometimes. 8)

Glad I helped get it sorted out.