Skip to reading
PCA Script Programming

stop_voice()

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

Stop Voice | Action ID: StopVoice

Stop the current voice and reset its mouth presentation.

No options in the standard shared schema.

Timing. The call waits for its runtime routine to return; no additional completion wait is promised by this schema.

Code example
stop_voice({})

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.

start_dialogue()#

Start Dialogue | Action ID: StartDialogue

Start a Dialogue Designer conversation and wait for that dialogue session to finish.

Source table from stop_voice(), page 92
Option key / fieldMeaning and accepted inputDefault
Dialogue dialogueIdChoose a Dialogue Designer ID.Blank

Timing. Waits for the dialogue session.

Code example
start_dialogue({"dialogueId": ""})

In use. On Elias's Talk verb, choose Ask Elias. The dialogue record decides its start node, choices and flow. Do not start the same dialogue again in OnDialogueStarted, which can create nested or repeated conversations.

Page 92 of 357Permalink
Go to page