Skip to content

cinematicScript ​

Namespace of @v12-engine/editor

Members ​

addLine beta ​

ts
export declare function addLine(def: CinematicDef, lane: string, at: number, speaker: string, options?: EditOptions): CinematicEdit;

A new line on a lane at a time, of a speaker, with no words yet, selected: where the lane is free from then (as addItem puts one)

addLineAfter beta ​

ts
export declare function addLineAfter(def: CinematicDef, ref: ItemRef, options?: EditOptions): CinematicEdit;

A new line just after one, on its lane, selected: said by whoever spoke before it (a talk goes back and forth), or by the same speaker

addLineAt beta ​

ts
export declare function addLineAt(def: CinematicDef, at: number, speaker: string, options?: EditOptions): CinematicEdit;

A new line at a time on the first dialog lane (not locked), a dialog lane made where there is none

deleteLine beta ​

ts
export declare function deleteLine(def: CinematicDef, ref: ItemRef, options?: EditOptions): CinematicEdit;

Takes a line out

ScriptLine beta ​

ts
export interface ScriptLine

A line of a cinematic's script: where it is (its lane and place), when it is said and until when, who says it, what

scriptLines beta ​

ts
export declare function scriptLines(def: CinematicDef, options?: EditOptions): ScriptLine[];

Every line of a cinematic's dialog lanes in the order they are said (by time; at one time, by the lanes' order). Choices are left out

setLine beta ​

ts
export declare function setLine(def: CinematicDef, ref: ItemRef, fields: {
    text?: string;
    speaker?: string;
}): CinematicEdit;

Changes a line's words or who says it, selected