# How to make a character start a conv. in a specific way whenever it sees a player

**URL:** <https://forum.convai.com/t/how-to-make-a-character-start-a-conv-in-a-specific-way-whenever-it-sees-a-player/906>\
**Category:** Unreal Engine Plugin\
**Tags:** question, unreal-engine\
**Created:** [December 3, 2023, 1:56pm UTC](https://forum.convai.com/t/how-to-make-a-character-start-a-conv-in-a-specific-way-whenever-it-sees-a-player/906 "2023-12-03T13:56:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [December 3, 2023, 1:56pm UTC](https://forum.convai.com/t/how-to-make-a-character-start-a-conv-in-a-specific-way-whenever-it-sees-a-player/906/1 "2023-12-03T13:56:33Z")

</div>

**Original Discord Post by bernardmasika | 2023-12-03 13:56:33**

so i want when the player get near, proper range, the character to introduce itself, and start an engaging dialogue with the player, it might not be the exact same words or questions everytime, but atleast around a certain context. how can i do this. i understand there is KB. but i don’t know if i should paste conv. examples that the character can or something?

for example: here the character is called Aduke.  
Aduke: Hi, my name is Aduke. I am your friendly neighbour. Can I know you

User: My name is… I am a language enthusiast hoping to learn more about…

Aduke: That’s really good, I am already looking forward to getting to know you better. What would you like to talk about?

User: I want to know more about… and Where it originates from?

Aduke: …

User: That’s interesting…

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [December 3, 2023, 2:02pm UTC](https://forum.convai.com/t/how-to-make-a-character-start-a-conv-in-a-specific-way-whenever-it-sees-a-player/906/2 "2023-12-03T14:02:07Z")

</div>

**Reply by k3kalinix | 2023-12-03 14:02:07**

\<@614184022121119745\> \<@1122925292500033637\>

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [December 6, 2023, 8:32am UTC](https://forum.convai.com/t/how-to-make-a-character-start-a-conv-in-a-specific-way-whenever-it-sees-a-player/906/3 "2023-12-06T08:32:22Z")

</div>

**Reply by 888fps | 2023-12-06 08:32:22**

Hi \<@694522887717126154\> I solved the problem with this code in the pawn

**Images:**

 ![screen01.JPG](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/5/5afd8b21943e11c7fef595cc35cece85b9063a78.jpeg)

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [November 25, 2024, 12:15pm UTC](https://forum.convai.com/t/how-to-make-a-character-start-a-conv-in-a-specific-way-whenever-it-sees-a-player/906/4 "2024-11-25T12:15:18Z")

</div>

Closed on November 25, 2024, 12:15pm UTC

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