From 470c6fbbca73564d94a003190987cfc9bd437a73 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Wed, 15 Apr 2026 09:18:51 +0200 Subject: [PATCH] Add support for NPC dialogue in runtime-host.ts --- src/runtime-three/runtime-host.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/runtime-three/runtime-host.ts b/src/runtime-three/runtime-host.ts index 42e28cf8..d51b3427 100644 --- a/src/runtime-three/runtime-host.ts +++ b/src/runtime-three/runtime-host.ts @@ -2992,6 +2992,14 @@ export class RuntimeHost { case "controlEffect": this.applyControlEffect(effect.effect, null); return; + case "makeNpcTalk": + this.openRuntimeNpcDialogue(effect.npcEntityId, effect.dialogueId, { + kind: "direct", + sourceEntityId, + linkId: null, + trigger: null + }); + return; case "startDialogue": this.openRuntimeDialogue(effect.dialogueId, { kind: "direct",