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#

CreateVariable / Create Variable

name — Variable ID [string]

variableType — Type [string] · string, boolean, number, array

value — Initial Value [variant]

CycleInteractionVerb / Cycle Verb

direction — Direction [int] · default 1

DespawnObject / Despawn Scene Object

sceneId — Room [scenes]

entityId — Scene Object [entities_for_scene]

DetachObject / Detach Object

entityId — Object [entities]

DetachParticleEffect / Detach Particle Effect

entityId — Particle Effect [entities]

DisableGUI / Disable Gui

guiId — GUI [guis]

DisableGUIElement / Disable Gui Element

guiId — GUI [guis]

elementId — Element / Group [gui_elements]

EnableGUI / Enable Gui

guiId — GUI [guis]

EnableGUIElement / Enable Gui Element

guiId — GUI [guis]

elementId — Element / Group [gui_elements]

EndCutscene / Cutscene: End

restoreCamera — Restore Previous Camera [bool] · default true

EndDialogue / End Dialogue

No fields in the editor schema.

ExecutePreposition / Execute Two-Object Command

verbId — Verb [verbs]

sourceId — First Object (entity:id or inventory:id) [string]

targetId — Second Object (entity:id or inventory:id) [string]

Page 54 of 133Permalink
Go to page