NPC2NPC How do I set which character the player speaks with?

Original Discord Post by nazbee | 2024-07-19 01:52:49

I want to be able to change who the player talks to and receives a response from using an event.

How do I do this both before and after the NPC2NPC Manager has been created?

I have 2 characters standing in front of the player, but the wrong character responds by default, and I want to give the player control over who they converse with.

Reply by k3kalinix | 2024-07-19 22:24:48

<@&1163218672580575372>

Reply by freezfast | 2024-07-19 23:52:03

Hi <@191760948002947073>, there could be multiple ways to do so, one way is to override the T key such that it talks to the chatbot component of your choosing, another way is if you want to talk to the current talker or listner in the NPC2NPC conversation you can use the functions Get Current Talker or Get Current Listener to talk to

Images:

Reply by freezfast | 2024-07-19 23:52:20

Let me know if this is not what you mean

Reply by nazbee | 2024-07-21 23:02:22

<@365628745886859267> yes thanks! This is exactly what i was wondering. I had an issue where the chatbot wasnt updating the way i expected but ive fixed it now.

This conversation happened on the Convai Discord Server, so this post will be closed.