Dialogues and announcements
A dialogue is a text, a speaker and a style. It is how a scheme talks to a player: a letter arrives, a stranger asks a favour, you choose what to do. An announcement is the same idea without a choice: a message that tells the player what happened.
Show Dialogue
Section titled “Show Dialogue”The Show Dialogue node opens a window for an actor. The window opens only when a player plays that actor. When nobody plays the actor, the actor picks a choice by itself.
A dialogue has these parts:
| Part | What it does |
|---|---|
| Show To | The actor the dialogue is for |
| Speaker | Nobody (narrator): no name plate, as for a letter or a report. An actor: the window shows the name and portrait of the actor in Who, as the style says |
| Title and Text | The words. They can use tokens and conditions. Pacing marks work in Text only |
| Choices | What the player can answer |
| Timeout | Seconds until the dialogue closes by itself. 0 means no time limit |
| Style | The look, the pace, the sounds and the motion of the window |
The text is written at a reading pace, with short rests at commas and full stops. A click, or Space or Return, finishes it, unless the style turns this off.
Then the choices appear and the time limit starts counting. Tokens, {if} text and pacing marks are in
Texts, tokens and pacing.
Choices
Section titled “Choices”Each choice has a Key, a Text and some options:
- A Condition. While it is false, the choice cannot be picked. The choice can be hidden then (Hide When Unavailable), or it can say why in an Unavailable Tooltip.
- A Tooltip, an Icon, and Tags. A choice can also make Changes when it is picked. The inspector lists them under When picked. Change any variable sets a variable of any owner, one of the scheme too, so no Set Variable node is needed behind the choice.
- Preferred by AI. When nobody plays the actor, the choice comes first in the order the actor considers.
- Odds Node ID. The choice shows the odds of a Chance node that follows it.
The node’s outputs are Timeout first, then one for each choice, shown with the choice’s text. Each choice also has a Key
that drafts and code use to name it, and timeout is reserved.
A time limit
Section titled “A time limit”With Timeout above 0, the dialogue closes after that many seconds and the Timeout output runs. The count starts when the choices appear, if the style makes the choices wait for the text (When the text is done).
With a single choice, Wait Until Clicked decides whether the flow waits for the click. With two or more choices, the flow always waits for one.
When nobody plays the actor
Section titled “When nobody plays the actor”An actor that no player plays picks an answer by NPC Answer: At random, The first available choice, By what they want, or The one they want most. A choice marked Preferred by AI comes first in every mode. See Characters that think.
The style
Section titled “The style”A style is an asset, made with Create > MrW > Intrigues > Dialogue Style. It holds:
- The picture, the frame, the colours and the fonts of the window.
- How the speaker is shown: nothing, the name, the name and portrait, or both portraits.
- The writing speed, and its rests.
- Music, ambience and the sounds of the window.
- How the window appears and goes away.
- How messages of this style arrive.
Pick a style for a dialogue, or leave it empty to use the Dialogue Manager’s default. Announcements have their own default
style. Both are fields of the Dialogue Manager component. In the Studio, a dialogue or announcement you add after another one starts with that one’s style and picture, and you can change them. A new Show Dialogue or Show Announcement starts with an empty title and text. The play button beside the text’s { } button shows the dialogue in its real window
without entering Play mode (its tooltip starts with Preview).
Announcements
Section titled “Announcements”Show Announcement shows a message and goes on at once. Its buttons only close the message. It has one output, Out, and needs at least one button.
Audience says who sees it:
- Every Player: always shown, whoever runs the scheme.
- Only If Player Is: shown only when the actor named in Player Is is a player. A scheme that an NPC runs stays silent.
- Players Taking Part: the players who take part in the scheme, as conspirator, target or accomplice.
A new announcement starts with Only If Player Is and the Conspirator in Player Is. Show When is an optional condition. The flow goes on either way.
How a message arrives
Section titled “How a message arrives”A dialogue or an announcement can reach a player in three ways, set in How it arrives on the node or on the style:
- On screen now: the window opens at once.
- As a flag: it waits in the player’s flag tray, and the same window opens when the player opens the flag.
- Silently: only a notice is recorded. A silent dialogue that waits answers itself as an NPC would.
From the style or project leaves it to the style, and then to the Dialogue Manager’s default, which is on screen now. A flag can carry a title, an icon and an importance. With Flags Pause Days on the Dialogue Manager, a flag of High importance pauses the days.
Music and voice
Section titled “Music and voice”Music and ambience go on from one dialogue to the next without starting again. A dialogue can also play a voice-over, and a scheme can give its own music with a Play Music node.
Texts, tokens and pacing, Signals, or Chance, dice and seeds.