cueCinematic beta
Function of @v12-engine/engine
ts
export declare function cueCinematic(world: World, cue: string, options?: {
to?: Audience;
params?: Record<string, unknown>;
}): void;Cues the cinematic playing on the screens of the players it is for (everyone when left out): one waiting for it (cut.untilCue(name)) goes on, and the view's hooks of it (cue:<name>) run. Nothing happens where none plays, or the one playing does not listen for it. params is plain data the cue carries