Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: TheJBurger on Tue 02/02/2010 05:22:42

Title: "Create Voice Acting Script" Error
Post by: TheJBurger on Tue 02/02/2010 05:22:42
When selecting the "Create Voice Acting Script" from the drop down file menu, I get this error during compile:


Unterminated string in script


There's no file or line listed, so I'm assuming it's impossible to find the "unterminated string" in question. Is there another way of extracting all the dialog in the game, or just fixing this error?
Title: Re: "Create Voice Acting Script" Error
Post by: Divon on Tue 02/02/2010 18:21:03
I've never gotten this error, however the only two times I've ever tried using this option, all it did was return blank text documents...which obviously isnt right  :P

Definetly had plenty of dialogs in the game too  ;)
Title: Re: "Create Voice Acting Script" Error
Post by: Calin Leafshade on Tue 02/02/2010 18:36:18
I assume you have both run "Auto Number Speech" first?
Title: Re: "Create Voice Acting Script" Error
Post by: Divon on Tue 02/02/2010 19:22:07
You know what they say about people who assume...

I swear I didnt try very hard at all when I tried it to see it if worked...because I've never had to actually use the feature for real yet...!

(PS - that fixed it)
Title: Re: "Create Voice Acting Script" Error
Post by: TheJBurger on Wed 03/02/2010 07:58:48
Quote from: Calin Leafshade on Tue 02/02/2010 18:36:18
I assume you have both run "Auto Number Speech" first?

Oops, No. Do you always have to do that?

Anyway, I ran "Auto Number Speech" but I still get the same error afterwards.
Title: Re: "Create Voice Acting Script" Error
Post by: Calin Leafshade on Wed 03/02/2010 12:07:50
well, no you dont HAVE to run it. But obviously you do if you havent numbered the speech manually.

With your specific error the only thing I could possibly guess is that you have a String.Format statement with insufficient arguments. like


String.Format("Yo, %s, %d", a);


that wouldnt throw an error on compile but it *might* cause the VA script to screw up.