Garrulous Glaahk Groovejet Posted July 21, 2004 Share Posted July 21, 2004 I've seen that in Blades of Avernum scenarios there are dialogues where you have to give your opinion about something and that question is just asked once. May someone tell me how is this done or is there a place where I can find a tutorial on dialogue? Thanks Link to comment Share on other sites More sharing options...
Magnificent Ornk Kelandon Posted July 21, 2004 Share Posted July 21, 2004 Do this with the condition and action parts of the dialogue script. It would look something like this: Code: begintalknode 1;state = 1;personality = 1;nextstate = 2;condition = get_flag(0,0) == 0;question = "Person name";text1 = "Yes or no?";begintalknode 2;state = 2;personality = 1;nextstate = 1;question = "Yes.";text1 = "You just said yes.";action = SET_SDF 0 0 1;begintalknode 3;state = 2;personality = 1;nextstate = 1;question = "No.";text1 = "You just said no.";action = SET_SDF 0 0 2; Link to comment Share on other sites More sharing options...
Garrulous Glaahk Groovejet Posted July 21, 2004 Author Share Posted July 21, 2004 Thanks, I was also wondering you can you force the end of a dialogue. I remember there was an option for that in Blades of Exile, but I can't find it on Blades of Avernum. Link to comment Share on other sites More sharing options...
Magnificent Ornk Kelandon Posted July 21, 2004 Share Posted July 21, 2004 Yes. Either action = END_TALK; or code = // whatever end(); break; Link to comment Share on other sites More sharing options...
Recommended Posts