Dialogs continuing without user click.

Started by Gemmalah, Tue 26/08/2003 19:53:47

Previous topic - Next topic

Gemmalah

JUst another newbie question.

I have read the manual under dialogs, (conversations) and scoured the message boards and everything else before i posted.

I have a many room game so far... and two conversations.
But when i start the conversation my charactor says hello and the other responds with the first topic rather than displaying the options first.

Problems, 1 it is not the only option i also have one other and a goodbye one.
2. i did put the first topic under the @1 line not under @S

i'm a little stumped.
PS. Is the line for changing the conversation after an object is given to a charactor,
If (Item ==1) Option-off 1
option-on 2
thanks a bunch
Dragon Slayers demo finally finishedGet it here!

Ishmael

To get the options up, put:

@S
EGO: Hello!
return

in there...

And the script line is not right. You must use run-script x, and the dialog_request function. Read more about these in the manual. The basic structre for the dialog_request is something like:

function dialog_request (int req) {
if (req==1) {
// your code for run-script 1
} else if (reg==2) {
// your code for run-script 2
}
}
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.

SMF spam blocked by CleanTalk