Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Fri 02/07/2004 21:30:33

Title: Script error DisplaySpeechBackground
Post by: on Fri 02/07/2004 21:30:33
Hey, got another question:
If I type this into a script:
DisplaySpeechBackground (MAN, "Hey, why don’t you talk to me?");
(the example taken from the tutorial) the game would crash saying there are too many overlays... any idea how to solve it?
Bye!
Title: Re: Script error DisplaySpeechBackground
Post by: TerranRich on Sat 03/07/2004 04:37:46
Did you put the code ’ there, or was it the actual ' symbol? If so, just use the regular keyboard ' symbol, unless you are using a TTF font or a font that supports advanced characters.
Title: Re: Script error DisplaySpeechBackground
Post by: on Sat 03/07/2004 09:26:23
It doesn't matter, on the actual game I wrote my own line of text, which had nothing to do with freaky symbols or fonts.... just something like "Grr... I gonna kill that guy". and it gave me errors!!
Title: Re: Script error DisplaySpeechBackground
Post by: Mr Jake on Sat 03/07/2004 10:01:25
Did you put this in repeatedly execute? That would mean that this come up every 60th of a second, meaning that it would be on the screen too many times.
Title: Re: Script error DisplaySpeechBackground
Post by: on Sat 03/07/2004 11:21:04
Again I'm afraid the answer is NO.
I put it after entering the room.
Title: Re: Script error DisplaySpeechBackground
Post by: Scorpiorus on Sat 03/07/2004 11:26:41
Could you post the whole player enters room script then?

But still, check both global and room repeatedly executes and see if there are any DisplaySpeechBackgrounds there.