# Dialogue System

**URL:** <https://forums.unrealengine.com/t/dialogue-system/44974>\
**Category:** Game Development\
**Tags:** unreal-engine\
**Created:** [October 17, 2015, 10:16pm UTC](https://forums.unrealengine.com/t/dialogue-system/44974 "2015-10-17T22:16:37Z")\
**Posts on this page:** 20\
**Page:** 9

<div class="post-metadata">

**Author:** ![Savagee25](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Savagee25](https://forums.unrealengine.com/u/Savagee25)\
**Post date:** [February 7, 2016, 11:35pm UTC](https://forums.unrealengine.com/t/dialogue-system/44974/165 "2016-02-07T23:35:25Z")

</div>

hi.

It’s possible to make some dialogphrases in a Bahaviertree triggerable? And to use dialogphrases it self as triggers for new dialog option in the future, like dialogs in mass effect: you select 1 of 3 Answers and in a few hours the nonplayer character will “react” and with reference to the answer, comes other Dialogoptions?

The phrases are very short. how cound i expand it for more text?

Thanks

---

<div class="post-metadata">

**Author:** ![artemavrin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@artemavrin](https://forums.unrealengine.com/u/artemavrin)\
**Post date:** [February 8, 2016, 2:31pm UTC](https://forums.unrealengine.com/t/dialogue-system/44974/166 "2016-02-08T14:31:02Z")

</div>

> [@Thaiauxn;468324](#):
>
> This is exceptionally cool, and I need it for my current project really bad to save my guys some time coding a system on our own.
> 
> I haven’t seen any licensing agreements for commercial projects? Do you have just the pay what you will system, or is there a contract page I’m missing?

Hello! It’s free for all kind of projects, just download and use. Also feel free to modify it for your needs - source code is included:)

---

<div class="post-metadata">

**Author:** ![artemavrin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@artemavrin](https://forums.unrealengine.com/u/artemavrin)\
**Post date:** [February 8, 2016, 2:50pm UTC](https://forums.unrealengine.com/t/dialogue-system/44974/167 "2016-02-08T14:50:31Z")

</div>

> [@Savagee25;469268](#):
>
> hi.
> 
> It’s possible to make some dialogphrases in a Bahaviertree triggerable? And to use dialogphrases it self as triggers for new dialog option in the future, like dialogs in mass effect: you select 1 of 3 Answers and in a few hours the nonplayer character will “react” and with reference to the answer, comes other Dialogoptions?
> 
> The phrases are very short. how cound i expand it for more text?
> 
> Thanks

Hello!

1. You can create your own tasks (BTTask\_BlueprintBase allows to do whatever you want) and put them in BehaviorTree.
2. Phrases are not short 🙂 There is no limit. Also you can add some new phrases, just click + “Adds Element”  
 ![01.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/0/3/503d9cf82cde4240f59dee24cdecd6fc493182c3.png)

---

<div class="post-metadata">

**Author:** ![Savagee25](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Savagee25](https://forums.unrealengine.com/u/Savagee25)\
**Post date:** [February 8, 2016, 8:30pm UTC](https://forums.unrealengine.com/t/dialogue-system/44974/168 "2016-02-08T20:30:11Z")

</div>

Thanks for reply. How could i use an “End-Button” to Exit the dialog?  
And how can I make a button to go to the next phrase / Qustion, without any automatically continues?

---

<div class="post-metadata">

**Author:** ![artemavrin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@artemavrin](https://forums.unrealengine.com/u/artemavrin)\
**Post date:** [February 8, 2016, 8:52pm UTC](https://forums.unrealengine.com/t/dialogue-system/44974/169 "2016-02-08T20:52:36Z")

</div>

> [@Savagee25;469839](#):
>
> Thanks for reply. How could i use an “End-Button” to Exit the dialog?  
> And how can I make a button to go to the next phrase / Qustion, without any automatically continues?

I recommend to watch the step-by-step tutorial. I hope you can find answers for all your questions:)  
[https://www.youtube.com/playlist?list=PLUngfGDb9OrU1hbePrpxTg8suq\_QSgQTH](https://www.youtube.com/playlist?list=PLUngfGDb9OrU1hbePrpxTg8suq_QSgQTH)  
Also look at [https://www.youtube.com/watch?v=RkkKSl-PxS0](https://www.youtube.com/watch?v=RkkKSl-PxS0) There is information about skipping phrases.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_10f7fdf4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_10f7fdf4](https://forums.unrealengine.com/u/anonymous_user_10f7fdf4)\
**Post date:** [February 9, 2016, 4:05pm UTC](https://forums.unrealengine.com/t/dialogue-system/44974/170 "2016-02-09T16:05:12Z")

</div>

Im looking for a dialogue system , with typewriter effect.  
Another system has this effect , but yours looks awesame. how do I implement this??

---

<div class="post-metadata">

**Author:** ![Savagee25](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Savagee25](https://forums.unrealengine.com/u/Savagee25)\
**Post date:** [February 11, 2016, 8:13am UTC](https://forums.unrealengine.com/t/dialogue-system/44974/171 "2016-02-11T08:13:23Z")

</div>

Thanks for your help 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6419f1891](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6419f1891](https://forums.unrealengine.com/u/anonymous_user_6419f1891)\
**Post date:** [February 23, 2016, 7:56am UTC](https://forums.unrealengine.com/t/dialogue-system/44974/172 "2016-02-23T07:56:17Z")

</div>

You are totally awesome. I just want to say thank you.

---

<div class="post-metadata">

**Author:** ![Filly\_The\_Owl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Filly\_The\_Owl](https://forums.unrealengine.com/u/Filly_The_Owl)\
**Post date:** [February 23, 2016, 10:11am UTC](https://forums.unrealengine.com/t/dialogue-system/44974/173 "2016-02-23T10:11:48Z")

</div>

Wish there was a feature…  
To Make Questions invisible after clicking them…  
Like integrated into the question system directly…  
Without any extra function…

Just a tiny box inside the question properties saying: I will cloak myself after i was hard clicked!

Like coming with the new 1.6 update…  
Secretly light a nightinggale…

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_de198132](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_de198132](https://forums.unrealengine.com/u/anonymous_user_de198132)\
**Post date:** [February 24, 2016, 4:37pm UTC](https://forums.unrealengine.com/t/dialogue-system/44974/174 "2016-02-24T16:37:59Z")

</div>

How can compile this plugin for Unreal Engine 4.11?

---

<div class="post-metadata">

**Author:** ![Filly\_The\_Owl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Filly\_The\_Owl](https://forums.unrealengine.com/u/Filly_The_Owl)\
**Post date:** [February 24, 2016, 4:52pm UTC](https://forums.unrealengine.com/t/dialogue-system/44974/175 "2016-02-24T16:52:44Z")

</div>

let them do it. Dont hesitate with 4.11 yet. Its still in preview and not usable.

---

<div class="post-metadata">

**Author:** ![artemavrin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@artemavrin](https://forums.unrealengine.com/u/artemavrin)\
**Post date:** [February 24, 2016, 7:41pm UTC](https://forums.unrealengine.com/t/dialogue-system/44974/176 "2016-02-24T19:41:45Z")

</div>

> [@Kanizitas;479535](#):
>
> Wish there was a feature…  
> To Make Questions invisible after clicking them…  
> Like integrated into the question system directly…  
> Without any extra function…
> 
> Just a tiny box inside the question properties saying: I will cloak myself after i was hard clicked!
> 
> Like coming with the new 1.6 update…  
> Secretly light a nightinggale…

Hmm, nice idea! I’ll do it soon:)

---

<div class="post-metadata">

**Author:** ![Filly\_The\_Owl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Filly\_The\_Owl](https://forums.unrealengine.com/u/Filly_The_Owl)\
**Post date:** [February 24, 2016, 8:21pm UTC](https://forums.unrealengine.com/t/dialogue-system/44974/178 "2016-02-24T20:21:38Z")

</div>

> [@artemavrin;480620](#):
>
> Hmm, nice idea! I’ll do it soon:)

And an idea to change the greeting phrases…  
maybe via random integers…  
Phrase 1  
Phrase 2  
Phrase 3…  
Booltick to set if it should use one random…  
to not always have the same…

@\_@ HAAAAAAAAAAAAAAAAAAAAAA  
Can you feel my cold breath!!!  
I can feel your heartbeat!

---

<div class="post-metadata">

**Author:** ![serioussam909](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@serioussam909](https://forums.unrealengine.com/u/serioussam909)\
**Post date:** [February 25, 2016, 12:57am UTC](https://forums.unrealengine.com/t/dialogue-system/44974/179 "2016-02-25T00:57:35Z")

</div>

Many of my AI characters share the same behaviour trees.

What’s the best way to use your dialogue tree without breaking the existing trees?

For example I want all my security guards to use my existing SecurityGuard behaviour tree, but I’d like to assign unique dialogues to some of the guards.

There is a “Run Behavior” BT node, but that would change dialogues for everyone that uses the same BT and I don’t want that. Duplicating the SecurityGuard BT and only changing the dialogue part is also a bad idea.

What should I do - spawn a separate AI controller for the dialogue?

---

<div class="post-metadata">

**Author:** ![artemavrin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@artemavrin](https://forums.unrealengine.com/u/artemavrin)\
**Post date:** [February 25, 2016, 12:28pm UTC](https://forums.unrealengine.com/t/dialogue-system/44974/180 "2016-02-25T12:28:31Z")

</div>

> [@serioussam909;480821](#):
>
> Many of my AI characters share the same behaviour trees.
> 
> What’s the best way to use your dialogue tree without breaking the existing trees?
> 
> For example I want all my security guards to use my existing SecurityGuard behaviour tree, but I’d like to assign unique dialogues to some of the guards.
> 
> There is a “Run Behavior” BT node, but that would change dialogues for everyone that uses the same BT and I don’t want that. Duplicating the SecurityGuard BT and only changing the dialogue part is also a bad idea.
> 
> What should I do - spawn a separate AI controller for the dialogue?

Hello! Have you tried to change behavior tree? I mean…by default run your character AI behavior tree, when you want to talk with him just run tree with dialogue in AI Controller:) After dialogue - run default behavior again.

---

<div class="post-metadata">

**Author:** ![artemavrin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@artemavrin](https://forums.unrealengine.com/u/artemavrin)\
**Post date:** [February 25, 2016, 12:29pm UTC](https://forums.unrealengine.com/t/dialogue-system/44974/181 "2016-02-25T12:29:19Z")

</div>

> [@Kanizitas;480664](#):
>
> And an idea to change the greeting phrases…  
> maybe via random integers…  
> Phrase 1  
> Phrase 2  
> Phrase 3…  
> Booltick to set if it should use one random…  
> to not always have the same…
> 
> @\_@ HAAAAAAAAAAAAAAAAAAAAAA  
> Can you feel my cold breath!!!  
> I can feel your heartbeat!

Yeah! I like it:)

---

<div class="post-metadata">

**Author:** ![serioussam909](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@serioussam909](https://forums.unrealengine.com/u/serioussam909)\
**Post date:** [February 25, 2016, 1:43pm UTC](https://forums.unrealengine.com/t/dialogue-system/44974/182 "2016-02-25T13:43:51Z")

</div>

Wouldn’t the “Run Behavior Tree” node run both trees at the same time? I don’t see a way to change the current tree. There’s also “Run Behavior Dynamic” but I don’t think that it’s finished, because it requires a behavior tree component and there’s no way to instantiate it.

---

<div class="post-metadata">

**Author:** ![Filly\_The\_Owl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Filly\_The\_Owl](https://forums.unrealengine.com/u/Filly_The_Owl)\
**Post date:** [February 25, 2016, 2:01pm UTC](https://forums.unrealengine.com/t/dialogue-system/44974/183 "2016-02-25T14:01:38Z")

</div>

I have more suggestions.

Thing is: You cant hide a question after it is beeing clicked.  
Next time i reload the game it will be unchecked and visible again. We need a way to save that it is hidden.  
I do that via strings.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_de198132](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_de198132](https://forums.unrealengine.com/u/anonymous_user_de198132)\
**Post date:** [February 27, 2016, 7:44pm UTC](https://forums.unrealengine.com/t/dialogue-system/44974/184 "2016-02-27T19:44:33Z")

</div>

This Dialogue System work fine but i have a question… I have a one Behavior Tree for Dialogue system and create another for AI movement… then i try run both Behavior Trees but nothing work. How can i creating two Behavior Trees for the same AI and run them?

I creating question with screenshot: [Two behaivor trees - AI - Epic Developer Community Forums](https://answers.unrealengine.com/questions/382232/two-behaivor-trees.html)

Thank you.

---

<div class="post-metadata">

**Author:** ![artemavrin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@artemavrin](https://forums.unrealengine.com/u/artemavrin)\
**Post date:** [February 28, 2016, 12:54pm UTC](https://forums.unrealengine.com/t/dialogue-system/44974/185 "2016-02-28T12:54:04Z")

</div>

> [@florentine3d;482670](#):
>
> This Dialogue System work fine but i have a question… I have a one Behavior Tree for Dialogue system and create another for AI movement… then i try run both Behavior Trees but nothing work. How can i creating two Behavior Trees for the same AI and run them?
> 
> I creating question with screenshot: [Two behaivor trees - AI - Epic Developer Community Forums](https://answers.unrealengine.com/questions/382232/two-behaivor-trees.html)
> 
> Thank you.

Hello! Try to run dialogue behavior from BehaviorTree when you need it. There is a task “RunBehavior”.

[Previous page](https://forums.unrealengine.com/t/dialogue-system/44974.md?page=8)

[Next page](https://forums.unrealengine.com/t/dialogue-system/44974.md?page=10)
