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#

ease — Blend Curve [string] · default "sine" · linear, sine, cubic, quint

priority — Camera Priority [int] · default 0

autoFrame — Automatically Frame Group [bool] · default true

minDistance — Minimum Group Distance / View Height [float] · default 3.0

maxDistance — Maximum Group Distance / View Height [float] · default 18.0

framingPadding — Group Framing Padding [float] · default 1.3

deadZoneWidth — Framing Zone Width (0–1) [float] · default 0.4

deadZoneHeight — Framing Zone Height (0–1) [float] · default 0.3

pathPoints — Camera Path Points (XYZ array) [variant] · default []

respectBounds — Respect Room Camera Bounds [bool] · default true

SetCameraPriority / Set Camera Priority

cameraId — Camera [cameras]

priority — Camera Priority [int] · default 10

SetCameraTargets / Set Camera Targets

cameraId — Camera (empty = active) [cameras]

targetId — Follow Target [entities] · default "player"

targetIds — Additional Target IDs (comma separated) [string] · default ""

lookAtId — Look At Target (optional) [entities]

SetCharacterActionEnabled / Enable / Disable Character Action

characterId — Character [characters]

actionEvent — Mouse / Trigger Action [interaction_events]

enabled — Enabled [bool]

SetControlSetting / Set Control Setting

setting — Setting [string] · default "coinEnabled" · enabled, cursorAdaptation, cyclingEnabled, movementProfile, autoSwitchInput, inputDevice, autoSwitchMovement, mouseProfile, gamepadProfile, touchProfile, proximityInteraction, proximityRadius, showHints, controllerIcons, coinEnabled, dragThreshold, gamepadLookSpeed

value — Value [variant] · default true

SetDialogueChoiceEnabled / Enable / Disable Dialogue Choice

dialogueId — Dialogue [dialogues]

nodeId — Choice Node ID [dialogue_choice_nodes]

choiceId — Choice ID [dialogue_choices]

enabled — Enabled [bool] · default true

Page 63 of 133Permalink
Go to page