Skip to reading
GDScript Programming & Godot

ResumeVoice()

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
On this page

Resume Voice

Resume paused voice playback and the shared scene/portrait mouth timing.

No options in the standard catalog schema.

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

Code example
await ResumeVoice({})

In use. Pair it with Pause Voice. It resumes the current recording rather than choosing a new asset. Calling it without a paused voice does not start a new line.

SeekVoice()#

Seek Voice

Move the current voice playback position to a time in seconds.

Source table from ResumeVoice(), page 103
Option key / fieldMeaning and inputDefault
Seconds secondsNumber; decimals allowed.0.0

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

Code example
await SeekVoice({"seconds": 1})

In use. Seek to 3.0 seconds while checking a line's mouth cues. Test the associated text and timing track at the new position, especially when a conversation is also waiting for audio completion.

StopVoice()#

Stop Voice

Stop the current voice and reset its mouth presentation.

No options in the standard catalog schema.

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

Code example
await StopVoice({})

In use. Use it when an interrupted radio message should end immediately. It is voice-specific; sound effects and music use their own stop actions.

Page 103 of 378Permalink
Go to page