Skip to content

Show Announcement

Group
Dialogue
In the node menu
Dialogue › Show Announcement
Where it can be used
Scheme graphs
Tags
  • Can be folded

A Show Announcement opens a message window for the players and goes on at once through Out. It never waits. Its buttons only close the window and lead nowhere.

Audience decides who sees it. If nobody in the audience is a player, nothing opens, and the flow goes on all the same.

The slipped node of the demo scheme Quiet Ending (Drafts/schemes/08-quiet-ending.json): Audience is Only If Player Is, with Conspirator as the player. The lines are written the way Describe() writes them.

Use it to tell the player what happened: the outcome of a scheme, a rumour, the end of a season. Set Audience to Only If Player Is with the Conspirator, and a scheme that a character runs on its own stays silent.

Use Show Dialogue instead when the player must choose, or when the flow has to wait for a click. Read Dialogues and announcements for styles, flags and voices.

  • Show When is a condition. When it is not met, the message is skipped and the flow still goes on.
  • With Only If Player Is and an actor that is not available, the message is skipped.
  • With How it arrives on As a flag, the message waits in the player’s flag tray until it is clicked. With Silently, no window opens and only a notice is recorded. The flow goes on through Out at once either way.
  • With no button, the card shows an error (“Add at least one button; without one the message cannot be closed.”), and the flow stops when the node runs.
  • A button with no text gets a warning on the card.
  • The node only runs in scheme graphs.
LabelDraft keyTypeDefaultShown if, tooltip and notes
AudienceAudience
  • EveryPlayer (Every Player)
  • OnlyIfPlayerIs (Only If Player Is)
  • TakingPart (Players Taking Part)
"OnlyIfPlayerIs"Every Player: always shown, whoever runs the scheme. Only If Player Is: shown only when the actor below is a player, so a scheme an NPC runs stays silent. Players Taking Part: shown to the conspirator, the target and the accomplices when a player plays them.
Player IsListenerActorRef"Conspirator"

Shown if Audience = OnlyIfPlayerIs

The message is shown only when this actor is a player. When the actor is not available it is skipped.
Show WhenShowWhenconditionnot in the dataOptional. Shown only when this is true, for example: not scheme.Abandoned. Empty: always. The flow continues either way.
SpeakerSpeaker
  • None (Nobody (narrator))
  • Actor (An actor)
"None"Nobody (narrator): no name plate, as for a notice. An actor: the window shows the actor's name and portrait, as the style says.
  • As in Show Dialogue.
  • Actor shows the name plate of Who; None is a narrator or a letter.
WhoSpeakerActorActorRef"Target"

Shown if Speaker = Actor

The actor who speaks. When the actor is not available the window shows no name plate; the message is shown anyway.
  • As in Show Dialogue.
TitleTitletext {tokens}""Title of the window. Tokens such as {target.Name} or {text.key} are allowed.
  • As in Show Dialogue.
  • Pacing marks print nothing here; TextMesh Pro colour tags (<color=#RRGGBB>…</color>) are allowed.
TextContenttext {tokens}""Text of the window. Tokens such as {target.Name}, parts that depend on a condition, {if scheme.Gold >= 100}…{else}…{end}, and pacing marks such as {pause} or {wait} are allowed.
  • As in Show Dialogue.
  • The only text with pacing marks ({pause}, {wait}, {slow}, {fast}, {cue Name}, {at 2.5}, {em}…{/em}); colour tags are allowed.
StyleStyleasset path (DialogueStyle)null (none)The look, pace, sounds and motion of the window. Empty: the Dialogue Manager's announcement style.
  • As in Show Dialogue.
  • A style's name ("Letter") or asset path; empty = the default style; drafts never create styles.
Write The TextTypewriterbooltrueOn: the text is written at the pace of the style, with its pauses. Off: the text appears at once.
  • As in Show Dialogue.
PictureBackgroundasset path (Sprite)null (none)The picture of this message. Empty: a picture from the tags below, else the style's picture.
  • As in Show Dialogue.
Picture From TagsPictureTagstext {tokens}""Optional, used when Picture is empty: words a sprite of the Sprite Database must have, separated by commas, for example Throne, {target.Culture}. Nothing found: the style's picture.
  • As in Show Dialogue.
  • Sprite Database words, comma-separated ("Throne, {target.Culture}"), used when Picture is empty.
MusicMusicDialogueTracknot in the dataThe music while the message is open. The same music goes on without starting again.
  • As in Show Dialogue.
AmbienceAmbienceDialogueTracknot in the dataThe ambience (wind, a crowd, a fire) while the message is open.
  • As in Show Dialogue.
SoundsSoundslist of DialogueSound[]Sounds that start when the message opens. A looping sound plays while it is open and fades out with it.
  • As in Show Dialogue.
Use VoiceUseVoiceboolfalsePlay a voice-over with the message.
  • As in Show Dialogue.
VoiceVoiceDialogueVoicenot in the data

Shown if UseVoice is true

  • As in Show Dialogue.
How it arrivesDelivery
  • FromStyleOrProject (From the style or project)
  • Interrupt (On screen now)
  • Flag (As a flag)
  • Silent (Silently)
"FromStyleOrProject"How the message arrives for a player. From the style or project: as the style says, else as the Dialogue Manager says (by default on screen now). On screen now: the window opens at once. As a flag: a flag waits in the player's flag tray; clicking it opens this window. Silently: no window, only a notice is recorded. The flow goes on through Out at once either way.
  • As in Show Dialogue.
Flag titleFlagTitletext {tokens}""The title of the flag in the player's flag tray. Tokens such as {target.Name} are allowed. Empty: the message's title.
  • As in Show Dialogue.
Flag iconFlagIconasset path (Sprite)null (none)The icon of the flag in the player's flag tray. Empty: the style's flag icon, else the tray's own.
  • As in Show Dialogue.
ImportanceFlagImportance
  • Low
  • Medium
  • High
"Medium"How much the flag matters. A flag tray may sort or colour flags by it; with Flags Pause Days on the Dialogue Manager, a High flag pauses the days.
  • As in Show Dialogue.
ButtonsButtonslist of AnnouncementButton[{"Text":"Ok"}]
Music: the settings of each one
LabelDraft keyTypeDefaultShown if, tooltip and notes
ModeMode
  • FromStyle (As the style says)
  • None (Silence)
  • Keep (Keep what is playing)
  • Clip (This clip)
"FromStyle"As the style says: the style's music or ambience. Silence: nothing plays while the dialogue is open. Keep what is playing: the music or ambience that plays already goes on. This clip: the clip below.
  • FromStyle = as the style says, None = silence, Keep = keep what is playing, Clip = this clip.
ClipClipasset path (AudioClip)null (none)

Shown if Mode = Clip

Plays in a loop while the dialogue is open. When it plays already it goes on without starting again.
VolumeVolumenumber1

Shown if Mode = Clip

  • from 0 to 1
Sounds: the settings of each one
LabelDraft keyTypeDefaultShown if, tooltip and notes
ClipClipasset path (AudioClip)null (none)The clip to play. Without a clip the node only continues.
  • As in Play Sound.
VolumeVolumenumber1
  • As in Play Sound.
  • from 0 to 1
PitchPitchnumber1
  • As in Play Sound.
  • from -3 to 3
PriorityPriorityinteger128Audio source priority: 0 is the highest, 256 the lowest.
  • As in Play Sound.
  • from 0 to 256
MixerMixerasset path (AudioMixerGroup)null (none)Mixer group the sound plays through. Empty plays directly.
  • As in Play Sound.
Fade Out (sec)FadeOutnumber1
  • min 0
LoopLoopboolfalse
Stop When ClosedStopWhenClosedboolfalse
Voice: the settings of each one
LabelDraft keyTypeDefaultShown if, tooltip and notes
ClipClipasset path (AudioClip)null (none)The clip to play. Without a clip the node only continues.
  • As in Play Sound.
VolumeVolumenumber1
  • As in Play Sound.
  • from 0 to 1
PitchPitchnumber1
  • As in Play Sound.
  • from -3 to 3
PriorityPriorityinteger128Audio source priority: 0 is the highest, 256 the lowest.
  • As in Play Sound.
  • from 0 to 256
MixerMixerasset path (AudioMixerGroup)null (none)Mixer group the sound plays through. Empty plays directly.
  • As in Play Sound.
Text Follows The VoiceSyncTypewriterboolfalseThe text is written out in time with the voice, and its last letter appears when the clip ends. An {at 2.5} mark in the text pins that place to second 2.5 of the clip.
Other languagesLanguageslist of VoiceLanguage[]One clip per language. The clip of the active language plays; a language without its own clip plays the main clip.
  • One clip per language code ("tr"); other languages play the main Clip.
Buttons: the settings of each one
LabelDraft keyTypeDefaultShown if, tooltip and notes
TextTexttext {tokens}""
  • TextMesh Pro colour tags (<color=#RRGGBB>…</color>) are allowed; always close them.
IconIconasset path (Sprite)null (none)
TooltipTooltiptext {tokens}""
  1. Out
"type"
"Show Announcement"
"set" keys
Audience, Listener, ShowWhen, Speaker, SpeakerActor, Title, Content, Style, Typewriter, Background, PictureTags, Music, Ambience, Sounds, UseVoice, Voice, Delivery, FlagTitle, FlagIcon, FlagImportance, Buttons
"then" keys
"Out"
"<alias>": {
"type": "Show Announcement",
"then": "<alias>"
}