Nodes for certain actors no longer working correctly

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Macka1080
Posts: 5
Joined: Thu Feb 06, 2025 12:08 am

Nodes for certain actors no longer working correctly

Post by Macka1080 »

Having some issues with a project I've been working on without issue for a while.

I created a new conversation between two actors in the same form as I have successfully done previously. Creation process was fine, but come runtime all lines were being spoken by only one of the actors in the conversation. From this point on, creating any new nodes with this actor led to those lines being spoken by the other actor in the conversation. Nodes that had already been created for this actor continue to function correctly.

The other actor in the aforementioned conversation is now also having issues, where sequence commands that send messages to "speaker" are not reaching this actor. Once again, previous nodes that use those same commands continue to function correctly.

I've had a look at the asset file and the correct actor ids are set within the new nodes' fields.

The faulty nodes are also not prepending the actor name before the dialogue, as other working nodes are.

I would really appreciate any advice about how I might resolve or at least investigate this further.
User avatar
Tony Li
Posts: 22886
Joined: Thu Jul 18, 2013 1:27 pm

Re: Nodes for certain actors no longer working correctly

Post by Tony Li »

Hi,

You may have already done some of these steps, but let's take it from the ground up.

Inspect your conversation in the Dialogue Editor. Select Menu > Conversation Properties. Make sure the conversation's Actor and Conversant dropdowns are set to the characters you want to use. In player+NPC conversations, the player is typically the Actor and the NPC is the Conversant.

Then inspect each dialogue entry node. Make sure the node's Actor dropdown is set to the character who should be speaking that line.

If the conversation's Actor or Conversant is assigned to a node, the node will not show the name in front of the text. It will only show the name in front of text for nodes that aren't assigned to the conversation's Actor or Conversant. You can change this using Menu > Show..., which has options to show all actor names.
Macka1080
Posts: 5
Joined: Thu Feb 06, 2025 12:08 am

Re: Nodes for certain actors no longer working correctly

Post by Macka1080 »

Thanks Tony! I had already checked that both the conversation and the individual noes were correctly assigned, but it's good to know that the names not showing up is intended.

I seem to have resolved this issue for now by doing the opposite of this, funnily enough, and setting the conversation's actor and conversant to completely different actors, and having the nodes override with the correct ones. Fingers crossed the issue does not arise again.

I really appreciate the quick response Tony! Love your work :)
User avatar
Tony Li
Posts: 22886
Joined: Thu Jul 18, 2013 1:27 pm

Re: Nodes for certain actors no longer working correctly

Post by Tony Li »

Hi,

Thanks! The info on this page may also be helpful: Character GameObject Assignments. (Or not. But at least you have a link to it now. ;) )
Post Reply