+ {selectedNpcSameSceneActorUsages.length > 0
+ ? "Duplicate In Scene"
+ : selectedNpcOtherSceneActorUsages.length > 0
+ ? "Reused Across Scenes"
+ : "Unique In Project"}
+
+
+ {selectedNpcSameSceneActorUsages.length > 0
+ ? `This actor id is also used by ${selectedNpcSameSceneActorUsages.length} other NPC${selectedNpcSameSceneActorUsages.length === 1 ? "" : "s"} in this scene.`
+ : selectedNpcOtherSceneActorUsages.length > 0
+ ? `This actor id is reused by ${selectedNpcOtherSceneActorUsages.length} NPC${selectedNpcOtherSceneActorUsages.length === 1 ? "" : "s"} in other scenes.`
+ : "This actor id is currently unique across the project."}
+
+
+ {selectedNpcOtherActorUsages.map((usage) => (
+
+ {usage.sceneId === editorState.activeSceneId
+ ? `Also in this scene: ${usage.entityName ?? usage.entityId}`
+ : `Also in ${usage.sceneName}: ${usage.entityName ?? usage.entityId}`}
+
+ ))}
Actor IDs are stable authored identities for this NPC
and are intended to stay consistent across scenes.
@@ -13656,6 +13682,258 @@ export function App({ store, initialStatusMessage }: AppProps) {