Dialogs

Started by , Wed 02/07/2003 07:24:35

Previous topic - Next topic

Plog

How do you make a dialog come of a dialog.
e.g
The options.
Can I buy this-
Reply: Can you afford it.
<Another dialog here>
Bye-
Reply: Bye.

First can you try to explain it with out using code and that because im a serious newbie. ::)

Wolfgang Abenteuer

If you mean go from one set of dialog options to another, you need to create a second dialog topic in the dialog menu with the second set of options.  In that case, your Topic 0 would be:

(Option 1) Can I buy this -
(Option 2) Bye-

and you would need to create Topic 1 with all of the things the character could buy, e.g.:

(Option 1) Bread
(Option 2) Steak
(Option 3) Cups
(Option 4) etc.

Then you'd need to script (sorry! :p ) the first dialog tree as such:

@S
@1
ego: "Can I buy this-"
salesman: "Can you afford it."
goto-dialog 1
@2
stop

where "ego" is the name of your character and "salesman" is whatever you've named the person you're talking to.  Then, selecting the "Can I buy this" option will make the characters say their lines and then run Topic 1, where you can select what you want to buy.

Is that what you mean?

~Wolfgang

SMF spam blocked by CleanTalk