Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Cosmo99 on Sun 29/04/2007 19:57:03

Title: Dialoge "stop" command not working
Post by: Cosmo99 on Sun 29/04/2007 19:57:03
This is my current dialog script:

// dialog script file
@S  // dialog startup entry point
narrator: Welcome to the LEon system database. What would you like to research?
@1  // option 1
narrator: Welcome to the LEon system database. What would you like to research?
@2  // option 2
@3  // option 3
@4  // option 4
@5  // option 5
@6  // option 6
@7  // option 7
@8  // option 8
@9  // option 9
@10  // option 10
narrator: thank you for using the LEon system database.
stop

But when I load the game to test it, it displays the message "Welcome to the LEon system database. What would you like to research?" then, "Thank you for using the LEon system database." and the dialoge ends. I have no idea what else I need to put in here except my script, someone please tell me what I am doing wrong!!!
Title: Re: Dialoge "stop" command not working
Post by: Captain Lexington on Sun 29/04/2007 20:08:15
Type return after the end of Dialog Entry Point.

Like:

//Dialog script fle
@S
narrator: Welcome....
return
@1// option 1

(And do that after all of the options, if you haven't.)
Title: Re: Dialoge "stop" command not working
Post by: Ashen on Sun 29/04/2007 20:10:23
Yup, that's it (posted as I was typing...)
Re-read the manual entry on Conversations (http://www.adventuregamestudio.co.uk/manual/Conversations.htm), for more details on Dialog Script. stop is meant to end the Dialog and return the player to the game - which it IS doing, by the sounds of it. As The Orator said, you need return.

Also, you don't really need the narrator line in @S AND option 1, do you?
Title: Re: Dialoge "stop" command not working SOLVED
Post by: Cosmo99 on Sun 29/04/2007 22:05:46
yeah, I got it now. My internet was down for a while so I just started randomly trying things, and I got to putting the return thing at the end. Thanks for the help, though.