Pacing marks
What this page is for
Section titled “What this page is for”A dialogue is written letter by letter. Pacing marks are words in braces inside the text that change how it is written: a pause, a wait for a click, a faster stretch, a sound at one place, trembling letters.
This page lists every mark, its limits and the messages the Studio gives when one is wrong. For the tokens that fill in names and numbers, see Text tokens. For the idea behind both, see Texts, tokens and pacing.
The marks
Section titled “The marks”| Mark | What it does |
|---|---|
{pause}, {pause 1.5} |
Stops writing for 0.5 seconds, or for the seconds you give. The most it takes is 600; a longer value is read as 600, a negative one as 0. |
{wait} |
Stops until the reader clicks. A small continue sign shows. It takes no number. |
{slow} |
Writes at the style’s Slow Factor from here on. 0.5 at first. |
{fast} |
Writes at the style’s Fast Factor from here on. 2 at first. |
{normal} |
Back to the normal speed. |
{speed 1.5} |
Sets the speed to the factor you give. Below 0.05 reads as 0.05, above 1000 as 1000. |
{cue Name} |
A named moment. It plays the sound called Name from the style’s Cues, if there is one, and tells your code. |
{at 2.5} |
A voice mark: the voice reaches this place at second 2.5 of its clip. The most it takes is 6000; a longer value is read as 6000, a negative one as 0. |
{em}…{/em} |
Emphasis, in the style’s Accent Colour. |
{shake}…{/shake} |
The letters between tremble. |
{wave}…{/wave} |
The letters between ride a slow wave. |
A number may end in s, as in {pause 1.5s}, and a cue name may be quoted. Marks are not case-sensitive. They work inside {if} blocks. A mark in a branch that is not taken does nothing.
The words are reserved, so a value always has a subject: {world.Pause} is a variable, {pause} is a mark.
Where they work
Section titled “Where they work”Only in the Text of a Show Dialogue and a Show Announcement. See Show Dialogue and Show Announcement. In any other text a mark prints nothing, and the check gives one warning: Pacing marks only work in the dialogue text.
Code that opens a dialogue itself can use them too: the content you pass to DialogueManager.OpenDialogue is read for marks. Format your own tokens first, with IntrigueText.Format(text, context.WithMarks()). See Dialogues from code.
The Studio’s text menu inserts them. Under Pacing it offers Pause, Long Pause, Wait for a Click, Slower, Faster, Normal Speed, Cue, Voice Mark, Shaking Letters and Waving Letters; Emphasis sits beside it.
What the style adds by itself
Section titled “What the style adds by itself”Without any mark, the style already rests after punctuation.
The shipped default writes 45 letters per second. It rests 0.15 s after a comma, semicolon or colon, 0.35 s after a full stop, question mark, exclamation mark or ellipsis, and 0.2 s after a line break. The style’s Letters Per Second, Comma Pause, Sentence Pause, Line Pause, Slow Factor and Fast Factor change these. With Write The Text off on the node, the text appears at once, and {wait} still splits it into parts.
A cue fires once, when the writing passes it.
When the reader clicks, the part being written is finished at once, up to the next {wait}, and its cues not yet reached are raised without their sound. Your code hears them through Dialogue.onCue and the static DialogueManager.Cue. A cue name the style has no sound for still reaches your code; the Studio shows an information line about it.
Marks that are skipped
Section titled “Marks that are skipped”| Situation | Result |
|---|---|
{wait} at the very start or very end of the text |
Does nothing. An information line, not a warning. |
Two {wait} in one place |
Count as one. An information line. |
{wait} while Text Follows The Voice is on |
Skipped: the voice does not stop for a click. An information line. |
{at} without Text Follows The Voice |
Skipped, with a warning. |
{at} that is not later than the one before it, or lies beyond the clip |
Skipped, with a warning. |
Mistakes and messages
Section titled “Mistakes and messages”| You write | The Studio says |
|---|---|
{wait 2} |
{wait} takes no number; it waits for a click. For a timed stop write {pause 2}. |
{slow 2} |
{slow} takes no number; for a speed of your own write {speed 0.5}. |
{speed} |
It needs a factor, for example {speed 1.5}; it is read as normal speed. |
{cue} |
It needs a name, for example {cue thunder}. |
{at} |
It needs the second the voice reaches this place, for example {at 2.5}. |
{puase} |
Not a pacing mark. Did you mean {pause}? |
{pause1} |
Not a pacing mark. Did you mean {pause 1}? |
{em} with no {/em} |
The emphasis lasts to the end of the text. The same for {shake} and {wave}. |
Two checks look at the whole text. A text of more than 600 letters with no {wait} is reported by the audit rule A-DIALOGUE-WALL, as one long wall of text. A text that follows its voice and would be written at more than 120 letters per second gets a warning: too fast to read.
How it connects
Section titled “How it connects”Texts, tokens and pacing introduces marks beside tokens. Dialogues and announcements covers the window and its style. Text tokens is the matching reference for the rest of the braces.