Add support for startDialogue action in runtime scene build and tests

This commit is contained in:
2026-04-14 21:48:28 +02:00
parent b44d5f9263
commit bbc981cd71
2 changed files with 48 additions and 1 deletions

View File

@@ -1596,6 +1596,8 @@ export function buildRuntimeSceneFromDocument(
case "playSound":
case "stopSound":
return enabledEntityIds.has(link.action.targetSoundEmitterId);
case "startDialogue":
return document.dialogues.dialogues[link.action.dialogueId] !== undefined;
case "control":
switch (link.action.effect.target.kind) {
case "entity":