Remove unused 'startDialogue' action and related code in App.tsx
This commit is contained in:
@@ -1368,8 +1368,6 @@ function getInteractionActionLabel(link: InteractionLink): string {
|
|||||||
return "Play Sound";
|
return "Play Sound";
|
||||||
case "stopSound":
|
case "stopSound":
|
||||||
return "Stop Sound";
|
return "Stop Sound";
|
||||||
case "startDialogue":
|
|
||||||
return "Start Dialogue";
|
|
||||||
case "runSequence":
|
case "runSequence":
|
||||||
return "Run Sequence";
|
return "Run Sequence";
|
||||||
case "control":
|
case "control":
|
||||||
@@ -8477,17 +8475,6 @@ export function App({ store, initialStatusMessage }: AppProps) {
|
|||||||
targetSoundEmitterId: link.action.targetSoundEmitterId
|
targetSoundEmitterId: link.action.targetSoundEmitterId
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
case "startDialogue":
|
|
||||||
nextLink = {
|
|
||||||
id: link.id,
|
|
||||||
sourceEntityId: link.sourceEntityId,
|
|
||||||
trigger,
|
|
||||||
action: {
|
|
||||||
type: "startDialogue",
|
|
||||||
dialogueId: link.action.dialogueId
|
|
||||||
}
|
|
||||||
};
|
|
||||||
break;
|
|
||||||
case "runSequence":
|
case "runSequence":
|
||||||
nextLink = createRunSequenceInteractionLink({
|
nextLink = createRunSequenceInteractionLink({
|
||||||
id: link.id,
|
id: link.id,
|
||||||
@@ -9180,14 +9167,6 @@ export function App({ store, initialStatusMessage }: AppProps) {
|
|||||||
</select>
|
</select>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
) : link.action.type === "startDialogue" ? (
|
|
||||||
<div className="form-section">
|
|
||||||
<div className="material-summary">
|
|
||||||
Legacy direct dialogue links are no longer authored here.
|
|
||||||
Move this behavior into a sequence and use a Make NPC Talk
|
|
||||||
effect instead.
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
) : link.action.type === "runSequence" ? (
|
) : link.action.type === "runSequence" ? (
|
||||||
(() => {
|
(() => {
|
||||||
const sequenceId = link.action.sequenceId;
|
const sequenceId = link.action.sequenceId;
|
||||||
|
|||||||
Reference in New Issue
Block a user