Skip to content

cinematic ​

Function of @v12-engine/engine

ts
export declare function cinematic<D = undefined>(id: string, options?: CinematicOptions & {
    wait?: undefined;
}): Step<D>;

A step of a sequence that plays one of the view's cinematics: defineSequence( id: 'td.start', steps: [cinematic('td.intro', hold: true ), ...talk(...)] ). It does not wait for it (with hold, the game, and the sequence with it, waits), unless told to: wait: 'ended' goes on once the player it was for has seen it end (or skipped it), any once one of the players it went to has, all once every one of them has. Only players with a screen are waited for (not the computer's); one who left a game of several never says, so a sequence for many waits for any where that matters. With a wait it is two steps, which defineSequence takes as they are