Problem with Dialogue...

Started by Grapefruitologist, Sat 18/02/2006 00:47:35

Previous topic - Next topic

Grapefruitologist

Ok, well, I followed a tutorial, and I'm pretty sure I did everything I was supposed too. I've made dialogues that work in the past, but this time it didn't work. The dialogue is all out of order... all jumbled up. When you talk to the character, he says "welcome", and then he says "Sure, sure. Here you go." (which was supposed to come later). And then the conversation is over.
The script (first topic):
// dialog script file
@SÃ,  // dialog startup entry point
return
@1Ã,  // option 1
SCIENCE: "This is SeaLand, a zoo containing all the specimens of aquatic life forms from around the world."
goto-dialog 3
@2Ã,  // option 2
SCIENCE: "I'm sorry, but that jellyfish is property of SeaLand, and is not for sale."
goto-dialog 4
@3Ã,  // option 3
SCIENCE: "Ok. Have a good time at SeaLand!"
stop

Second topic:
// dialog script file
@SÃ,  // dialog startup entry point
@1Ã,  // option 1
SCIENCE: "Well, I didn't name it that!"
goto-previous
@2Ã,  // option 2
goto-previous

Third topic:
// dialog script file
@SÃ,  // dialog startup entry point
@1Ã,  // option 1
SCIENCE: "Well, I guess I can make an exception in this case.If you can find another jellyfish to replace this one, then I guess I can give you this jellyfish. (Good luck.)"
EGO: "Ok, then do you have a piece of paper we can sign as a contract or something?"
SCIENCE: "Sure, sure. Here you go."
stop
@2Ã,  // option 2
goto-previous

There are four dialogues, and the first one (0) is for a different conversation.
(\ _ /)
(o.o )
(>< )
This is Bunny
Copy Bunny into your signature to help him on his way to world domination!
http://youtube.com/watch?v=IIO2qpSsUTA
http://youtube.com/watch?v=Rg-p7xaeYes

strazer

Quote
@S  // dialog startup entry point
@1  // option 1

If you don't put "return" at the end of the startup entry point, it runs the dialog script that follows (option 1) instead of showing the dialog options.
So for the second and third topic you also have to insert the "return" keyword after the startup entry point:

Code: ags

@S  // dialog startup entry point
return // show dialog options
@1  // option 1

Grapefruitologist

#2
Okay, thanks.
Darn it, it's still not working. Better, but I get an error, and the speech is still jumbled up...
(\ _ /)
(o.o )
(>< )
This is Bunny
Copy Bunny into your signature to help him on his way to world domination!
http://youtube.com/watch?v=IIO2qpSsUTA
http://youtube.com/watch?v=Rg-p7xaeYes

strazer

What error?
Describe the problem.

Grapefruitologist

Nevermind-I think I just got something wrong.
(\ _ /)
(o.o )
(>< )
This is Bunny
Copy Bunny into your signature to help him on his way to world domination!
http://youtube.com/watch?v=IIO2qpSsUTA
http://youtube.com/watch?v=Rg-p7xaeYes

SMF spam blocked by CleanTalk