Skip to content

LSDE Dialog Engine / BlockType

Variable: BlockType ​

const BlockType: object

Defined in: blueprint-types.ts:14

What a block is. Decides which optional fields it carries, and how the engine reads them. condition and router carry the SAME cases and are read in opposite ways: a condition stops at the first true case and leaves by its port (or by default when none matched); a router evaluates EVERY case, launches one parallel track per true case, then always continues - on then when all cases were true, on catch when any was false. A router with no case at all leaves by then, the way Promise.all([]) resolves.

Type Declaration ​

Action ​

readonly Action: "action" = "action"

Choice ​

readonly Choice: "choice" = "choice"

Condition ​

readonly Condition: "condition" = "condition"

Dialog ​

readonly Dialog: "dialog" = "dialog"

Note ​

readonly Note: "note" = "note"

Router ​

readonly Router: "router" = "router"