The documentation for AACS and the CodeEditor.
Displays a dialogue box and a text inside it, displayed letter by letter (by default).
Name | Type | Description | Required | Default Value |
---|---|---|---|---|
Character name | String | The text that indicates the speaker. Passing a null character (-) causes the name box to remain hidden. | ✓ | - |
Speech | String | The actual dialogue. | ✓ | - |
Do not talk | Boolean | If set to true, the character will not switch to the talking animation. | ✗ | false |
Is Typewriter | Boolean | If set to true, a typewriter sound blip will be used and the text speed decreases. | ✗ | false |
Keep | Boolean | If set to true, the text already existing in the dialogue box will not be erased. | ✗ | false |
Silent | Boolean | If set to true, no blips will be played. Useful if voice acting is used. | ✗ | false |
Position | String | The name of the position used in LoadCharacter. | ✗ | “Center” |
1: DisplayText:["Trucy"|"Well...this is awkward."|false|false|false|false];
1: DisplayText:[-|"#GreenSpelling is not my strong suite."|true];
1: DT:["Apollo"|"#Blue(What?#[130]#Blue My bracelet is reacting.)"|true];
The color code
#Blue
has to be repeated after the waiting. Each text code splits a text into a new segment and each segment is automatically set to a white font.
You cannot use the pipe (|) or double quotes (“) character in your speech.
There are multiple ways to specify a blip for a character. Here’s how AACT determines what blip should actually be played:
Silent
is true, no blip will play at all.Is Typewriter
is true, the typewriter blip will be used.Do not talk
is set to true, the name of the character in the name box will be considered.Do not talk
is set to false, the Position
parameter determines the character that is actually speaking.There are 9 text codes you can use inside a speech:
In addition, there are 4 escape codes:
Keep
set to false.The codes are case-sensitive which means if you type them in lowercase they will not work.