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#

CallScriptFunction / Call Script Function

functionKey — Function [string]

parameters — Parameters [variant] · default {}

resultVariable — Result Variable [string]

CameraOrbit / Camera Orbit

entityId — Target Object [entities]

speed — Degrees Per Second [float] · default 45

distance — Distance [float] · default 5

mode — Orbit Mode [string] · default "360" · 360, 180, 180_back

repetitions — Repeat Count [int] · default 1

clockwise — Clockwise [bool] · default false

height — Height [float] · default 2

CameraShake / Camera Shake

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

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

power — Power [float] · default 0.25

CancelPreposition / Cancel Two-Object Command

No fields in the editor schema.

CarouselAddImage / Carousel: Add Image

guiId — GUI [guis]

elementId — Image Carousel [gui_elements]

assetId — Image Asset [image_assets]

CarouselClearImages / Carousel: Clear Images

guiId — GUI [guis]

elementId — Image Carousel [gui_elements]

CarouselNext / Carousel: Next Image

guiId — GUI [guis]

elementId — Carousel [gui_elements]

CarouselPrevious / Carousel: Previous Image

guiId — GUI [guis]

elementId — Carousel [gui_elements]

Page 49 of 133Permalink
Go to page