From 248a1ada7bb06ef58a8abe7647ce1a4a9b31a584 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Tue, 14 Apr 2026 13:51:01 +0200 Subject: [PATCH] Throw error for unsupported actor effects in project schedule --- src/scheduler/project-schedule-control-options.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/scheduler/project-schedule-control-options.ts b/src/scheduler/project-schedule-control-options.ts index 61943dda..73e94467 100644 --- a/src/scheduler/project-schedule-control-options.ts +++ b/src/scheduler/project-schedule-control-options.ts @@ -536,6 +536,11 @@ export function getProjectScheduleEffectOptionId( switch (effect.type) { case "setActorPresence": return effect.active ? "actor.present" : "actor.hidden"; + case "playActorAnimation": + case "followActorPath": + throw new Error( + "Actor animation and follow-path effects use the dedicated actor routine editor." + ); case "playModelAnimation": return "model.playAnimation"; case "stopModelAnimation":