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#

disabled — Disabled [bool]

insertIndex — Insert Index (-1 = End) [int] · default -1

ListBoxClearItems / List Box: Clear Items

guiId — GUI [guis]

elementId — List Box [gui_elements]

ListBoxDeleteItem / List Box: Delete Item

guiId — GUI [guis]

elementId — List Box [gui_elements]

itemId — Item ID [string]

ListBoxModifyItem / List Box: Modify Item

guiId — GUI [guis]

elementId — List Box [gui_elements]

itemId — Item ID [string]

property — Property [string] · text, id, iconAssetId, disabled, selected

value — New Value [variant]

LoadGame / Load Game

No fields in the editor schema.

LoadGameSlot / Load Game Slot

slot — Slot [int]

MeltSnow / Melt Accumulated Snow

sceneId — Scene (empty = current) [scenes]

duration — Melt Duration (seconds) [float] · default 2.0

pace — Amount Per Second (used only when duration = 0) [float] · default 0.0

waitForCompletion — Wait Until Melting Finishes [bool] · default true

MoveNPCToRoom / Move NPC to a Different Room

characterId — Character [characters]

sceneId — Room [scenes]

spawnId — Spawn (optional) [spawns_for_scene]

position — XYZ when no spawn [vector3]

OpenInteractionCoin / Open Interaction Coin

entityId — Object / Character [entities]

Page 57 of 133Permalink
Go to page