Help with monkey_05_6's Scrolling Dialog 2.0

Started by Gribbler, Fri 27/07/2007 18:34:39

Previous topic - Next topic

Gribbler

Hi

I need help with Scrolling Dialog 2.0 by monkey_05_06. I was previously using ver 1.21 and I new how to handle it, but with 2.0 I even don't know how to start dialog in game script. Everything's changed.

it now looks like this:

static void ScrollingDialog_SetupType::InitializeText() {
  // set up your dialog text here!
  ScrollingDialog.SetOption("new topic", 0, "this is some text");
  }

void ScrollingDialogType::RunInteraction(String topic, int option) {
  if (this.GetSay(topic, option)) player.Say(this.GetText(topic, option));
  // set up your dialog interactions here!
  if (topic == "new topic") {
    }
  }

Can someone provide short demo code on some default dialog?
What commands use? And how to start dialog in game using plugin's commands?
It's essential to me to use lucas-arts-style dialog cause it's integral part of monkey's GUI template. Please can someone help?
PS And yes I've read the manual. And I still can't quite figure it out...


strazer

You have already posted here. Please be patient.

SMF spam blocked by CleanTalk