messageDialogues

Basic description of the dialogue files.

Settings

This section allows you to configure settings specific to dialogues.

Settings:
  typing-speed: 1 # Ticks(Second/20)
  range: 3 # 
  effect: Slowness # Slowness / Freeze
  answer-numbers: true
  prevent-exit: false
  character-name: true
  character-image: true
  background-fog: true
circle-info

The prevent-exit setting prevents the dialogue from being instant ended using shift.

Pages

Specifies the dialogue pages; you can configure everything here.

Pages:
  '1a':
    lines:
      - 'LuxDialogues is #2d87c3available #4f4a3enow!'
      - 'Have not you #cdff29bought #4f4a3eit yet?'
      - 'What are you waiting for?'
    typing-info-line: 'Right Click To Skip Typing' # Not available
    steady-info-line: 'Right Click to Change Page' # Not available
    goto: '1b' # If this is not empty, answers will be disabled.
    timer: 30 # Not available
    pre-actions:
      - msg %player_name% dialoguepreAction1 @console
    post-actions:
      - msg %player_name% dialoguepostAction1 @console
    exit-actions:
      - msg %player_name% dialogueexitAction1 @console
circle-info

pre-actions are triggered at the beginning of the dialogue page, while post-actions are triggered at the end. Available arguments here include @console, @delay.<seconds>, and condition.<condition>. A detailed explanation is provided in the following sections of the page.

triangle-exclamation

Pages With Answers

The selection screen that appears at the end of dialogue pages.

circle-info

The usage of conditions and actions is explained in the following sections of the page.

circle-exclamation

Gotos

Gotos can be used in both answers and dialogues. You can easily see where you can place them in the sections above.

circle-info

Gotos allow branching by letting you redirect from one dialogue to another, or from an answer to a different dialogue.

circle-exclamation
circle-exclamation

Conditions

There are 2 types of conditions: one for permissions and the other for placeholders.

Actions

Actions can be used in dialogues and answers. The locations where they are used are specified in the texts above. There are several tags you can use for actions. These are exemplified below.

circle-exclamation

Last updated