Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Slasher on Sat 12/03/2016 06:45:48

Title: Voice with speech in quotations
Post by: Slasher on Sat 12/03/2016 06:45:48
can't quite get this to work properly as does not show both quotes:

Code (ags) Select
cScully.SayAt(140, 10, 460,"\"&1 This is Leech. Are you there, Malden?\"");
cScully.SayAt(140, 10, 460,"\&1" This is Leech. Are you there, Malden?\"");
//Gives voice and last quote but shows ampersand
cScully.SayAt(100, 10, 460,String.Format("\"&1 This is Leech. Are you there, Malden?\""));
//Gives only last quote and voice
cScully.SayAt(100, 10, 460,String.Format("&1\" This is Leech. Are you there, Malden?\""));


will keep trying until answer found..

thanks
Title: Re: Voice with speech in quotations
Post by: Grok on Sat 12/03/2016 09:45:56
Have you tried this:

"&1 \"This is Leech. Are you there, Malden?\""


Title: SOLVED: Re: Voice with speech in quotations
Post by: Slasher on Sat 12/03/2016 10:00:09
Quote from: Grok on Sat 12/03/2016 09:45:56
Have you tried this:

"&1 \"This is Leech. Are you there, Malden?\""

Yes, got it working a while ago..

Code (ags) Select

//REF: You have to put a space as shown
"&1 \"This is Leech. Are you there, Malden?\""


Thanks Grok anyhow (nod)

cheers