Skip to reading
PCA Script Programming

end_dialogue()

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

End Dialogue | Action ID: EndDialogue

End the active dialogue session.

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
end_dialogue({})

In use. Use it when a scripted event cuts a conversation short. It does not erase the authored dialogue, its choices or the saved read history. Test any actions that were supposed to follow a normal ending.

add_dialogue_line()#

Add Dialogue Line | Action ID: AddDialogueLine

Insert or update a line node in a runtime dialogue graph, including speaker, text, next node, voice and typewriter options.

Source table from end_dialogue(), page 93
Option key / fieldMeaning and accepted inputDefault
Dialogue dialogueIdChoose a Dialogue Designer ID.Blank
New Node ID nodeIdText.Blank
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
Page 93 of 357Permalink
Go to page