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#

FaceCharacter / Face Character

characterId — Character [characters]

targetCharacterId — Face Character [characters]

FaceCoordinates / Face Coordinates

characterId — Character [characters]

position — XYZ [vector3]

FaceObject / Face Object

characterId — Character [characters]

sceneId — Object Room [scenes]

targetId — Object [entities_for_scene]

FadeMusic / Music: Fade

volume — Target Volume [float] · default 0.0

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

FadeScreen / Screen Fade

direction — Direction [string] · default "out" · out, in

color — Color [color] · default "#000000"

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

FadeSound / Sound: Fade

channel — Channel / ID (empty = all) [string]

volume — Target Volume [float] · default 0.0

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

FailObjective / Quest: Fail Objective

questId — Quest [quests]

stageId — Stage [quest_stages]

objectiveId — Objective [quest_objectives]

FailQuest / Quest: Fail Quest

questId — Quest [quests]

FollowCharacter / Follow Character

characterId — Character [characters]

targetCharacterId — Character to Follow [characters]

distance — Distance Behind [float]

speed — Speed [float]

Page 55 of 133Permalink
Go to page