Skip to reading
GDScript Programming & Godot

Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page
Source table from Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema., page 105
Option key / fieldMeaning and inputDefault
Speaker speakerIdChoose a Character Designer ID; player is a runtime alias where supported.Blank
Text textText.Blank
Next Node nextChoose a node in that dialogue. May be blank. Custom values are accepted.Blank
Return to previous node returnToPreviousReturn through dialogue history rather than relying only on a fixed next link.true
Voice Audio voiceAssetIdChoose an imported audio asset. May be blank.Blank
Voice Key (optional) voiceKeyOptional localization/voice lookup key.Blank
Typewriter Effect typewriterReveal text progressively instead of displaying it all at once.false
Typing Speed (characters/second) typewriterSpeedText reveal rate in characters per second. Range: 1.0 to 240.0.30.0
Typing Sound typewriterSoundChoose: default, none, custom."default"
Typing Sound Asset typewriterSoundAssetIdThe imported audio used when the typing sound is custom. May be blank.Blank

Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.

Code example
await AddDialogueLine({"dialogueId": "", "nodeId": "", "speakerId": "elias"})

In use. Add an answer node named signal_answer, then point a choice at it. Use a unique stable node ID. Return to previous node is enabled by default, so check that behavior before also relying on a fixed Next link.

Typing sound: default, none or custom. Custom uses typewriterSoundAssetId; speed is characters per second.

Page 105 of 378Permalink
Go to page