Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Sat 06/08/2005 16:59:24

Title: Creating Speech...
Post by: on Sat 06/08/2005 16:59:24
I've been following the web tutorial and having a few problems with speech, I copied the diagrams completely but the script won't save saying the is an error to the line: "@1  // option 1" but i can't see anything wrong with it... any ideas?
Title: Re: Creating Speech...
Post by: Scummbuddy on Sat 06/08/2005 17:54:52
could you please upload your entire dialog so that we may see.
Title: Re: Creating Speech...
Post by: on Sat 06/08/2005 19:51:23
here you are it's basicly the one from the tutorial:
// dialog script file
@SÃ,  // dialog startup entry point
EGO: "Greetings!"
fred: "Hello there!"
return
@1 // option 1
fred: "My name is fred."
fred: "I can sell you stuff."
return
@2 // option 2
fred: "I sell random stuff."
fred: "My jackets and eyeballs are popular."
goto-dialog 1
@3 // option 3
fred: "Come back soon."
stop

error msg says:
Dialog (line 6): Invaled label marker. Must be 1 .. NumOptions
Title: Re: Creating Speech...
Post by: Ishmael on Sat 06/08/2005 20:21:51
Um.. did you just type that out into the script editor, or did you actually create the options in the AGS editor first?
Title: Re: Creating Speech...
Post by: on Wed 10/08/2005 20:05:21
I'm pretty sure I created the options, I'll just give it another try and see what happens.