Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Goot on Fri 10/09/2004 00:49:46

Title: Speech doesn't auto skip in long scripts
Post by: Goot on Fri 10/09/2004 00:49:46
I have this really weird problem:
I have it set so the player can choose wether or not speech text skips automatically. (I find it really annoying when the thing skips right before you want to click and you miss something but also see why some people don't want to have to click.) I use DisplaySpeech alot in the game and it only sometimes skips. I have been using SetSkipSpeech to change how it skips. What I have figured out is that whenever the DisplaySpeech is in a script with one or more additional lines, it never skips automatically. Not skipping is my default so that might have something to do with it. Has anyone else had this problem or does someone know how to fix it. I know I could make a cutsom display speech function with display speech background, manually play the talking animation and do wait mouse click or wait but I want an easier way. Thanks for any help you can give me.
Title: Re: Speech doesn't auto skip in long scripts
Post by: Pumaman on Sat 11/09/2004 20:31:28
I tried this:

SetSkipSpeech(2);
DisplaySpeech(EGO, "First line");
DisplaySpeech(EGO, "Second line");
DisplaySpeech(EGO, "Third line");

and it skipped through them automatically, as it should. Can you be more specific about your problem?