Skip to content

cinematicCode beta ​

Function of @v12-engine/client

ts
export declare function cinematicCode(def: CinematicDef): string;

A cinematic written as TypeScript, for a game that keeps it in code (the Cinematic panel's Copy as code): a line of the view's cinematics.defs, the Cut script it plays as. That is cut.play of its data: the lanes are what the cut plays, whatever calls a script may make of its own around them. How it likes to be played (def.play) stands beside the script, as an entry has it, since cut.play does not read it