Skip to content

LSDE Dialog Engine / SceneEndReason

Type Alias: SceneEndReason ​

SceneEndReason = typeof SceneEndReason[keyof typeof SceneEndReason]

Defined in: types.ts:416

Why a scene ended — what onSceneExit is told in SceneContext.reason.

faulted and deadlocked are the two a game most needs to tell apart from completed. A waitForBlocks wired to a block no track will ever finish used to end exactly like a scene played to its last line, and a game awaiting the exit of a dialogue could not know it had been cut short.