Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: alkis21 on Wed 08/11/2006 21:01:16

Title: Can you play speech files without using the Dialog Editor? [SOLVED]
Post by: alkis21 on Wed 08/11/2006 21:01:16
I was wondering, is it necessary to assign speech files to dialog entries, or can they be used independently as well?
The reason I'm asking is because there are several occasions in which a character has to say a single line. Do I have to create a new Dialog Topic for each line in order to assign speech files to them?
Title: Re: Can you play speech files without using the Dialog Editor?
Post by: Ashen on Wed 08/11/2006 21:13:13
Read the manual (Voice Speech (http://www.adventuregamestudio.co.uk/manual/Voice%20speech.htm)).

Particularly:
Quote from: The Manual
You can also use speech with Say script function.

cEgo.Say("&10 Hi! How are you?");
cDavid.Say("&7 I'm fine.");
Should be easier than creating a new Dialog for each single line. :P
Title: Re: Can you play speech files without using the Dialog Editor?
Post by: alkis21 on Wed 08/11/2006 21:19:03
Can't believe I missed that one. (http://www.userbars.net/forum/images/smiles/ashamed.gif) And I could have sworn I knew the manual by heart by now!!!

In my defense, I believe this should have been included in the "Say" function or at least the Dialogs section. So it's only 99.9% my fault.