NPC's lines are shown in Player's subtitle panel
Posted: Fri Nov 22, 2024 7:53 am
Hi!
I've been using the Dialogue System for my game, and it works well for most cases. However, I'm facing an issue with NPC dialogues. Here’s the setup:
The player has thought bubbles in world space and thoughts displayed in UI scenes (e.g., puzzles, notes).
There are also simple, one-way dialogues between the player and NPCs.
Now, I'm trying to create a dialogue between the player and an NPC. The problem is that all the dialogue lines are displayed only in the player's subtitle panel, and the NPC's subtitle panel is ignored. The same also happens for UI thought subtitle panel and it uses player's thought panel.
Here’s what I’ve done:
1. Assigned actors correctly in the conversation properties.
2. Added the Dialogue Actor component to both the NPC and the player.
3. Made sure the "Is Player" checkbox is unticked for the NPC.
4. Assigned a custom subtitle panel to the NPC, which is a child of its GameObject.
5. Tried starting the conversation both via code and with a Dialogue System Trigger (neither worked).
What could be causing this problem?
I've been using the Dialogue System for my game, and it works well for most cases. However, I'm facing an issue with NPC dialogues. Here’s the setup:
The player has thought bubbles in world space and thoughts displayed in UI scenes (e.g., puzzles, notes).
There are also simple, one-way dialogues between the player and NPCs.
Now, I'm trying to create a dialogue between the player and an NPC. The problem is that all the dialogue lines are displayed only in the player's subtitle panel, and the NPC's subtitle panel is ignored. The same also happens for UI thought subtitle panel and it uses player's thought panel.
Here’s what I’ve done:
1. Assigned actors correctly in the conversation properties.
2. Added the Dialogue Actor component to both the NPC and the player.
3. Made sure the "Is Player" checkbox is unticked for the NPC.
4. Assigned a custom subtitle panel to the NPC, which is a child of its GameObject.
5. Tried starting the conversation both via code and with a Dialogue System Trigger (neither worked).
What could be causing this problem?