CutHooks beta
TypeAlias of @v12-engine/client
ts
export type CutHooks = Record<string, CutHook>;The hooks a cinematic has, by name. What happens in a cinematic, each heard by the hook of its name:
start,end(with itsoutcome),skip,pause,resume,seek(withtoandfrom) -shot: the camera reached a key of its lane, or a move of the script's (cut.camera) ended -line: a line of dialog shown (speaker,text) -marker:<name>: the time reached a marker of a def playing -cue:<name>: a cue, from the rules (cueCinematic) or code (cut.cue) -lane:<kind>:clip,lane:<kind>:key: a clip of a lane started at its moment, a key of one reached; a lane may say more of its own -lane:<kind>:start,lane:<kind>:end, andclip:start,clip:endfor every lane: a clip begun (at its moment, or part way in by a seek:into) and ended (why), with what it plays (clip, itshandle: a video's element) -item:<id>:start,item:<id>:end,item:<id>:key: the same, of the item with thatid- any other name: called by a clip of the hooks lane ({ at, hook: 'flare' }), or by code (cut.emit)