"Selector" is being displayed in conversation instead of Actor's name

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Jdedueass
Posts: 10
Joined: Wed Aug 18, 2021 3:17 am

"Selector" is being displayed in conversation instead of Actor's name

Post by Jdedueass »

Hi, I'm having an issue where "Selector" is being displayed instead of my Actor's name in conversations.

For instance, my conversation looks like this "Hello [var=Actor]!". And it works great! My Actor's name is being displayed at all times, but, whenever the key to start the conversation again is pressed, while such conversation is still active, a warning is being displayed:
"Dialogue System: Another conversation is already active. Not starting - Conversation Name"

And when that happends, for the rest of the conversation, [var=Actor] is switched from my Actor's name to "Selector".

So, I'd like to know how to fix this bug, thanks in advance.
User avatar
Tony Li
Posts: 22148
Joined: Thu Jul 18, 2013 1:27 pm

Re: "Selector" is being displayed in conversation instead of Actor's name

Post by Tony Li »

Hi,

I think the root issue is that the Selector is still enabled while the conversation is active. To automatically disable the Selector while conversations are active, please see the 07:00-minute mark of the Dialogue System Interaction tutorial video. It uses a Dialogue System Events component to disable the Selector.

Also, as a side note, it may be using the name "Selector" because it's using the Selector's GameObject as the actor. See Character GameObject Assignments for the rules on how GameObjects are used in conversations.
Jdedueass
Posts: 10
Joined: Wed Aug 18, 2021 3:17 am

Re: "Selector" is being displayed in conversation instead of Actor's name

Post by Jdedueass »

That solved the problem! I ended up using the Dialogue System Events and disabling the selector at the start of the conversations and enabling it again at the end.

Thanks a lot, Tony.
User avatar
Tony Li
Posts: 22148
Joined: Thu Jul 18, 2013 1:27 pm

Re: "Selector" is being displayed in conversation instead of Actor's name

Post by Tony Li »

Glad to help!
Post Reply