Say()
Say
Speak as the chosen character. With Wait for Continue off, speech uses timed advancement; with it on, the player must continue.
| Option key / field | Meaning and input | Default |
|---|---|---|
| Speaker speakerId | Choose a Character Designer ID; player is a runtime alias where supported. | Blank |
| Text text | Text. | Blank |
| Wait for Continue waitForContinue | Wait for the player to continue the speech instead of using timed advancement. | false |
| Voice Audio voiceAssetId | Choose an imported audio asset. May be blank. | Blank |
| Voice Key (optional) voiceKey | Optional localization/voice lookup key. | Blank |
| Typewriter Effect typewriter | Reveal text progressively instead of displaying it all at once. | false |
| Typing Speed (characters/second) typewriterSpeed | Text reveal rate in characters per second. Range: 1.0 to 240.0. | 30.0 |
| Typing Sound typewriterSound | Choose: default, none, custom. | "default" |
| Typing Sound Asset typewriterSoundAssetId | The imported audio used when the typing sound is custom. May be blank. | Blank |
Timing. Waits for the speech routine; manual continuation is optional.
await Say({"speakerId": "elias", "text": "The mechanism is ready.", "waitForContinue": false})In use. Let Elias explain the machine, then run the next instruction. A timed line without a custom duration uses the runtime's short speech timing. Voice and typewriter settings affect presentation; the speaker still needs a valid scene or character definition.
Typing sound: default, none or custom. Custom uses typewriterSoundAssetId; speed is characters per second.
