Skip to content

Dialog

Shows the text that someone says

Parameters

ИмяTypeOptionalDescription
personstringPerson ID, any name, or undefined
contentTextContentDialog text
emotionstring✔️Person Emotion

Usage

ts
engine.script({
  start: [
    engine.action.dialog(
      "character id",
      "Show mini-person with 'happy' emotion",
      "happy"
    ),
    engine.action.dialog("???", engine.t("UnknownPersonLyrics")),
    engine.action.dialog(undefined, "No Name!"),
    engine.action.dialog("character id", "You'r age is {{age}}"),
  ],
});

Released under the ISC License.