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#

SetFlashlightMode / Enable / Disable Flashlight Mode

enabled — Flashlight Enabled [bool] · default true

strength — Light Strength [float] · default 1.0

radius — Light Radius [float] · default 180.0

shape — Light Shape [string] · circle, spherical, square, rectangle, triangle

SetGameLanguage / Set Game Language

language — Language Code [string]

persist — Save Player Preference [bool] · default true

SetGlow / Set Glow

entityId — Entity [entities]

enabled — Enabled [bool] · default true

variable — Variable [string]

SetInputDevice / Set Input Device

device — Input Device [string] · default "auto" · auto, mouse-keyboard, gamepad, touch

SetInteractionApproachEnabled / Enable / Disable Automatic Interaction Approach

enabled — Automatic Approach Enabled [bool] · default true

distance — Default Stop Distance [float] · default 0.35

faceTarget — Face Target After Approaching [bool] · default true

SetInteractionMode / Set Interaction Mode

mode — Interaction Mode [string] · default "context" · context, verb-single-click, verb-double-click, verb-direct, verb-direct-double-click, direct, cycling-cursor, verb-coin, verb-coin-first

SetLipSyncEnabled / Enable Lip Sync

characterId — Character [characters]

enabled — Enabled [bool] · default true

SetMotion / Set Motion

sceneId — Room [scenes]

entityId — Object [entities_for_scene]

enabled — Enabled [bool]

variable — State Variable (optional) [variables]

SetMouseClicksEnabled / Enable Mouse Clicks

enabled — Enabled [bool] · default true

Page 64 of 133Permalink
Go to page