Dialog Starts up when switching topics

Started by Grundislav, Mon 15/09/2003 01:28:35

Previous topic - Next topic

Grundislav

So, in previous versions of AGS, if you had a conversation it'd go something like this:
*startup dialog*
Ego:Hello!
Man:What do you want?
*option 1* Ego:What can you tell me about the bird?
Man:What do you want to know?
goto-dialog 2

*now we go to dialog 2 which is a list of new questions, but you decide not to ask any right now*

Ego:Never mind, I'll ask later.
Man:Ok.
goto-previous
*at this point you return to the previous topic and previous choices are shown*

But now with the latest version, when returning to the previous topic, it displays the startup dialog again, so you get.
Ego:Never mind, I'll ask later.
Man:Ok.
Ego:Hello!
Man:What do you want?

Is there any way to bypass the startup dialog when returning to the previous topic?

Ishmael

#1
I usually make one extra option, which is alone visible in the start, and turns on the other options, which contains the hello messages, in case I need then only once. Like:

@S
return
@1
Man: So?
Ego: Nevermind...
Man: Anything else?
return
@2
Man: I could think of a way...
Ego: Great! Could you tell me too?
Man: No.
Ego: What if we discuss a price?
Man: That could do...
goto-dialog x
@3
Ego: Hello!
Man: Whaddayawant?
option-off 3
option-on 1
option-on 2
return


Where, in the editor, the option 3 alone is "show", and when the dialog is firts time ran, the other options are turned on. This is just an example, so It lacks the "Goodbye" option and all...
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

SSH

does option-off 0 turn of the start message? If not, it should!
12

Ishmael

I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

Pumaman

This was actually a bug fix, the startup dialog was always supposed to be said when you went to a topic, but there was a bug for a while where it didn't.

The best way to do it if you want something to just be said when the dialog starts up is to have a few DisplaySpeech lines before you RunDialog.

SMF spam blocked by CleanTalk