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#

SetSceneTint / Set Room Tint

sceneId — Scene [scenes]

tintColor — Tint Color [color] · default "#ffffff"

strength — Tint Strength (0 = Off, 1 = Full) [float] · default 1.0

SetSnowAccumulation / Set Snow Accumulation

sceneId — Scene (empty = current) [scenes]

amount — Accumulation Amount (0 to 1) [float] · default 1.0

duration — Transition Duration (seconds, 0 = authored pace) [float] · default 0.0

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

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

SetTriggerEnabled / Enable / Disable Trigger

sceneId — Room [scenes]

entityId — Trigger [triggers_for_scene]

enabled — Enabled [bool]

SetVariable / Set Variable

name — Variable [variables]

value — Value [variant] · default true

SetVerbUsageEnabled / Enable / Disable Verb Command Usage

enabled — Enabled [bool]

SetVoiceSpeaker / Set Voice Speaker

characterId — Character [characters]

ShakeScreen / Shake Screen

direction — Direction [string] · default "both" · both, horizontal, vertical

duration — Duration (seconds) [float] · default 0.5

power — Power (pixels) [float] · default 8

ShowGUI / Show Gui

guiId — GUI [guis]

ShowGUIElement / Show Gui Element

guiId — GUI [guis]

elementId — Element / Group [gui_elements]

Page 67 of 133Permalink
Go to page