Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Sir Bob on Tue 06/12/2005 01:07:40

Title: Speech displayed in textbox GUI?
Post by: Sir Bob on Tue 06/12/2005 01:07:40
I know its probably very obvious, but, how?
Title: Re: Speech displayed in textbox GUI?
Post by: Ashen on Tue 06/12/2005 11:55:57
Quote from: Me, last time you asked this
You mean the black and white box when you call Display("text"); (or 'Display message' from the interaction ediitor)? You need to create a custom Text Window GUI - look up "Customized Text Windows" in the manual.

The Manual Entry Titled 'Customised Text Windows' (http://www.adventuregamestudio.co.uk/manual/TextWin.htm)
(Note that 'Foreground Colour' has been changed to 'Text Colour' on the properties tab.)

Which is also quoted in the BFAQ (http://bfaq.xylot.com/#guis14).
Title: Re: Speech displayed in textbox GUI?
Post by: Sir Bob on Tue 06/12/2005 16:42:26
Okay,

When my speech works, it is just red outlines text, I was wondering how to get them to appear in the textboxes, not to change the textboxes. I have already done that.
Title: Re: Speech displayed in textbox GUI?
Post by: Ashen on Tue 06/12/2005 16:50:30
Right, sorry, I though you meant how to change to box it appears in.

On the 'General Settings' window, change the Speech style option to Sierra-style w/ Background.
Title: Re: Speech displayed in textbox GUI?
Post by: Sir Bob on Tue 06/12/2005 19:28:58
I have tried that, but it didnt work... Oh well, I will try again when I get back from school.
Title: Re: Speech displayed in textbox GUI?
Post by: Ashen on Tue 06/12/2005 19:39:03
Obvious thing to check, but does your character have a speech view? Without one, speech will just be displayed like LucasArts-style speech (above the head).

Sierra-style is a 'portrait' of the speaker at the top of the screen, with the text next to that. If you want the text displaying in a GUI abover the characters head, take a look at the Character.Think command - it may be nearer what you want.
Title: Re: Speech displayed in textbox GUI?
Post by: Sir Bob on Wed 07/12/2005 00:01:42
Nope, it worked! Thanks!
Title: Re: Speech displayed in textbox GUI?
Post by: Sir Bob on Wed 07/12/2005 00:09:25
But now, it only shows one line of the dialog...