Dialog problem (ending a dialog by clicking on any dialog-option) (SOLVED)

Started by hiphobbit, Thu 21/10/2004 19:06:34

Previous topic - Next topic

hiphobbit

Is there a way to end a conversation when any of the dialog-options has been clicked? I have tried to do it with "stop"...

@1  // option 1
stop
@2  // option 2
stop
@3  // option 3
stop

...but it does not seem to work. I have also tried to make some kind of a function with dialog_request, but I am not that skilled with scripting and have not had any success with it...

I am trying to make the character say one of the options, and then comes a text (a commentary, different for all options) and then the dialog ends.

So any suggestions what I should do?

strazer

Your first idea should work fine. What does happen if you try it?
If the dialog doesn't even show up, be sure that the dialog entry point (if you have one) says "return":

@S  // dialog startup entry point
return
@1  // option 1
stop
@2  // option 2
stop
@3  // option 3
stop

or remove it altogether. Also, be sure that each option's "Say" checkbox is ticked.
Works for me.

hiphobbit

Thanks! I didn't have the "return" in dialog startup, but now it works.

SMF spam blocked by CleanTalk