Skip to reading
Lua Scripting

Gameplay action fields / continued

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

Earlier edition reference / Current 0.86.4.0 checked action IDs > p. 95

Gameplay action fields / continued#

AddDialogueChoice / Add Dialogue Choice

dialogueId — Dialogue [dialogues]

nodeId — Choice Node ID [dialogue_choice_nodes]

choiceId — New Choice ID [string]

text — Text [string]

next — Next Node [dialogue_nodes]

enabled — Enabled [bool] · default true

repeatable — Always Allow Repeat [bool] · default false

voiceAssetId — Voice Audio [audio_assets]

voiceKey — Voice Key (optional) [string]

typewriter — Typewriter Effect [bool] · default false

typewriterSpeed — Typing Speed (characters/second) [float] · default 30.0

typewriterSound — Typing Sound [string] · default "default" · default, none, custom

typewriterSoundAssetId — Typing Sound Asset [audio_assets] · default ""

AddDialogueChoiceNode / Add Dialogue Choice Node

dialogueId — Dialogue [dialogues]

nodeId — New Node ID [string]

AddDialogueLine / Add Dialogue Line

dialogueId — Dialogue [dialogues]

nodeId — New Node ID [string]

speakerId — Speaker [characters]

text — Text [string]

next — Next Node [dialogue_nodes]

returnToPrevious — Return to previous node [bool] · default true

voiceAssetId — Voice Audio [audio_assets]

voiceKey — Voice Key (optional) [string]

typewriter — Typewriter Effect [bool] · default false

typewriterSpeed — Typing Speed (characters/second) [float] · default 30.0

typewriterSound — Typing Sound [string] · default "default" · default, none, custom

typewriterSoundAssetId — Typing Sound Asset [audio_assets] · default ""

AddInventory / Add Inventory

itemId — Item [inventory]

count — Count [int] · default 1

Page 47 of 133Permalink
Go to page