Simple question about dialogs

Started by Mind Zi, Thu 27/10/2005 07:21:53

Previous topic - Next topic

Mind Zi

I didn't see an answer to this in the manual, so it's probably pretty blatant, but here's my problem:

I have scripts for two topics in a dialog.Ã,  One of the options in the first leads to the second, and either option selected in the second returns the dialogue to the first topic.Ã,  My problem is that when the dialogue returns to the first topic, the characters repeat their initial "hellos".Ã,  How do I make the script go back to the options without the characters re-introducing themselves?

Graphically, I want this:

"Hi" -> 1. <<<<<
Ã,  Ã,  Ã,  Ã,  Ã,  Ã, 2. -> 1.-^
Ã,  Ã,  Ã,  Ã,  Ã,  Ã, 3.Ã,  Ã,  Ã,  2.-^

....as opposed to this:

Ã,  Ã, v<<<<<<<<<Ã,  Ã,  Ã,  Ã, 
"Hi." ->1.Ã,  Ã,  Ã,  Ã,  Ã, ^
Ã,  Ã,  Ã,  Ã,  Ã,  Ã, 2. -> 1.-^
Ã,  Ã,  Ã,  Ã,  Ã,  Ã, 3.Ã,  Ã,  Ã, 2.-^

Any help is greatly appreciated.

Ashen

The simplest way (unless I've misunderstood) would probably be to make the greetings scripted, rather than part of the first dialog, e.g.:
Code: ags

cEgo.Say("Hello.");
cNpc.Say("Hi.");
RunDialog (2);


Alternatively, something like Ishmael's script from this thread may be what you're looking for. Try a search, there're probably other options out there.
I know what you're thinking ... Don't think that.

SMF spam blocked by CleanTalk