# 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:** 22

<div class="post-metadata">

**Author:** ![lightnarcissus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lightnarcissus](https://forums.unrealengine.com/u/lightnarcissus)\
**Post date:** [February 12, 2018, 3:16pm UTC](https://forums.unrealengine.com/t/dialogue-system/44974/442 "2018-02-12T15:16:54Z")

</div>

I’m curious if anyone has implemented Sequencer support for this plugin. I’m asking because Matinee support might be eventually phased out and I wanted to know if someone had worked on replacing it with Sequencer for this plugin.

---

<div class="post-metadata">

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

</div>

Hi there! Really nice plugin! I have a question, is it possible to implement it with csv dialogs? I’d like to centralize all my dialogue lines so the designers can manipulate them outside UE4.

Thanks!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9a913664](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9a913664](https://forums.unrealengine.com/u/anonymous_user_9a913664)\
**Post date:** [February 20, 2018, 6:49am UTC](https://forums.unrealengine.com/t/dialogue-system/44974/444 "2018-02-20T06:49:56Z")

</div>

This is great, man. Is it free?

---

<div class="post-metadata">

**Author:** ![Totespare](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Totespare](https://forums.unrealengine.com/u/Totespare)\
**Post date:** [February 20, 2018, 1:07pm UTC](https://forums.unrealengine.com/t/dialogue-system/44974/445 "2018-02-20T13:07:22Z")

</div>

I have another doubt, is it possible to need to push a button to continue to the next dialogue line? I don’t want the text to slide itself by time, but when the user pushes a button 🙂

---

<div class="post-metadata">

**Author:** ![Opiaa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Opiaa](https://forums.unrealengine.com/u/Opiaa)\
**Post date:** [March 2, 2018, 12:23pm UTC](https://forums.unrealengine.com/t/dialogue-system/44974/446 "2018-03-02T12:23:44Z")

</div>

Hey!

I have a question. I am trying to trigger the specific dialogue from a blueprint, for now just for Event Begin Play.  
What I am doing wrong here?

[![Imgur](https://i.imgur.com/ZudhDrX.png "imgur.com") ](https://imgur.com/ZudhDrX)

Thank you!  
PS. Great plugin!

---

<div class="post-metadata">

**Author:** ![lightnarcissus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lightnarcissus](https://forums.unrealengine.com/u/lightnarcissus)\
**Post date:** [March 2, 2018, 4:14pm UTC](https://forums.unrealengine.com/t/dialogue-system/44974/447 "2018-03-02T16:14:56Z")

</div>

> [@Opiaa](#):
>
> Hey!
> 
> I have a question. I am trying to trigger the specific dialogue from a blueprint, for now just for Event Begin Play.  
> What I am doing wrong here?
> 
> [Imgur: The magic of the Internet](https://imgur.com/ZudhDrX)
> 
> Thank you!  
> PS. Great plugin!

You should check to see if the “Get AIController” is returning anything. You can alternatively also have the Behavior Tree tab open during the Play mode and see if it running at all or is “Inactive”.  
Let me know if that helps!

---

<div class="post-metadata">

**Author:** ![Opiaa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Opiaa](https://forums.unrealengine.com/u/Opiaa)\
**Post date:** [March 2, 2018, 4:23pm UTC](https://forums.unrealengine.com/t/dialogue-system/44974/448 "2018-03-02T16:23:57Z")

</div>

Okay I changed my blueprint a bit. Now It looks like this: [Imgur: The magic of the Internet](https://imgur.com/a/5ipnE)  
After running it I got two issues:

Error Blueprint Runtime Error: Accessed None trying to read property K2Node\_DynamicCast\_AsTop\_Down\_Character from function: ‘ExecuteUbergraph\_NewBlueprint’ from node: Print String in graph: EventGraph in object: NewBlueprint with description: Accessed None trying to read property K2Node\_DynamicCast\_AsTop\_Down\_Character

Error Blueprint Runtime Error: Accessed None trying to read property CallFunc\_GetAIController\_ReturnValue from function: ‘ExecuteUbergraph\_NewBlueprint’ from node: Run Behavior Tree in graph: EventGraph in object: NewBlueprint with description: Accessed None trying to read property CallFunc\_GetAIController\_ReturnValue  
Info Play in editor start time for /Game/TopDownBP/Maps/UEDPIE\_0\_Upstairs -0.243

I think I understand the second one. It means that This Get AI Controller don’t really returning something which would be useful for this blueprint, so that’t the issue, right? what should be connected there then?

Also, this is how the dialogue tree looks like in Play mode: [Imgur: The magic of the Internet](https://imgur.com/pbuyqUW) It means that it is activated but umm… Like a part on the top don’t let it to go lower?

---

<div class="post-metadata">

**Author:** ![lightnarcissus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lightnarcissus](https://forums.unrealengine.com/u/lightnarcissus)\
**Post date:** [March 2, 2018, 6:28pm UTC](https://forums.unrealengine.com/t/dialogue-system/44974/449 "2018-03-02T18:28:46Z")

</div>

> [@Opiaa](#):
>
> Okay I changed my blueprint a bit. Now It looks like this: [https://imgur.com/a/5ipnE](https://imgur.com/a/5ipnE)  
> After running it I got two issues:
> 
> Error Blueprint Runtime Error: Accessed None trying to read property K2Node\_DynamicCast\_AsTop\_Down\_Character from function: ‘ExecuteUbergraph\_NewBlueprint’ from node: Print String in graph: EventGraph in object: NewBlueprint with description: Accessed None trying to read property K2Node\_DynamicCast\_AsTop\_Down\_Character
> 
> Error Blueprint Runtime Error: Accessed None trying to read property CallFunc\_GetAIController\_ReturnValue from function: ‘ExecuteUbergraph\_NewBlueprint’ from node: Run Behavior Tree in graph: EventGraph in object: NewBlueprint with description: Accessed None trying to read property CallFunc\_GetAIController\_ReturnValue  
> Info Play in editor start time for /Game/TopDownBP/Maps/UEDPIE\_0\_Upstairs -0.243
> 
> I think I understand the second one. It means that This Get AI Controller don’t really returning something which would be useful for this blueprint, so that’t the issue, right? what should be connected there then?
> 
> Also, this is how the dialogue tree looks like in Play mode: [https://imgur.com/pbuyqUW](https://imgur.com/pbuyqUW) It means that it is activated but umm… Like a part on the top don’t let it to go lower?

From the two errors, it seems like both TopDownPlayerCharacter and AIController are returning null.  
As for the Behavior Tree, it seems like it’s waiting for “IsTalking” to be set to true. I would suggest making sure your “Is Talking” boolean variable in NewBlueprint is being set to IsTalking blackboard key, otherwise the tree won’t reflect the change.

If you haven’t already, I would recommend going through the step-by-step video tutorial in setting up the different parts of Dialogue System ([https://www.youtube.com/playlist?list=PLUngfGDb9OrU1hbePrpxTg8suq\_QSgQTH](https://www.youtube.com/playlist?list=PLUngfGDb9OrU1hbePrpxTg8suq_QSgQTH)). It’s clear and helpful,

---

<div class="post-metadata">

**Author:** ![ChesnakovAN](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ChesnakovAN](https://forums.unrealengine.com/u/ChesnakovAN)\
**Post date:** [March 3, 2018, 8:05am UTC](https://forums.unrealengine.com/t/dialogue-system/44974/450 "2018-03-03T08:05:15Z")

</div>

Hi. Please can put a working draft of this plugin for version 4.18. I followed the instruction 3 times, but the dialog is simply not called when I click on E

---

<div class="post-metadata">

**Author:** ![Opiaa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Opiaa](https://forums.unrealengine.com/u/Opiaa)\
**Post date:** [March 3, 2018, 6:20pm UTC](https://forums.unrealengine.com/t/dialogue-system/44974/451 "2018-03-03T18:20:25Z")

</div>

> [@lightnarcissus](#):
>
> From the two errors, it seems like both TopDownPlayerCharacter and AIController are returning null.  
> As for the Behavior Tree, it seems like it’s waiting for “IsTalking” to be set to true. I would suggest making sure your “Is Talking” boolean variable in NewBlueprint is being set to IsTalking blackboard key, otherwise the tree won’t reflect the change.
> 
> If you haven’t already, I would recommend going through the step-by-step video tutorial in setting up the different parts of Dialogue System ([https://www.youtube.com/playlist?lis…xTg8suq\_QSgQTH](https://www.youtube.com/playlist?list=PLUngfGDb9OrU1hbePrpxTg8suq_QSgQTH)). It’s clear and helpful,

Thank you! It’s working but the issue was different.

If anyone would like to make what I’ve done and be able to launch the dialogue itself at any point, here we go:

(Ignore the print strings)  
[https://imgur.com/a/zCLG7](https://imgur.com/a/zCLG7)  
And then, in your dialogue tree set the radius to 99999999.

---

<div class="post-metadata">

**Author:** ![lightnarcissus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lightnarcissus](https://forums.unrealengine.com/u/lightnarcissus)\
**Post date:** [March 7, 2018, 4:48pm UTC](https://forums.unrealengine.com/t/dialogue-system/44974/452 "2018-03-07T16:48:28Z")

</div>

> [@ChesnakovAN](#):
>
> Hi. Please can put a working draft of this plugin for version 4.18. I followed the instruction 3 times, but the dialog is simply not called when I click on E

What operating system are you using? I’m running the plugin on 4.18 without any difficulty. I’m happy to help you out as I’m developing some new features from a fork of the OP’s Github project.

---

<div class="post-metadata">

**Author:** ![ChesnakovAN](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ChesnakovAN](https://forums.unrealengine.com/u/ChesnakovAN)\
**Post date:** [March 7, 2018, 5:10pm UTC](https://forums.unrealengine.com/t/dialogue-system/44974/453 "2018-03-07T17:10:45Z")

</div>

> [@lightnarcissus](#):
>
> What operating system are you using? I’m running the plugin on 4.18 without any difficulty. I’m happy to help you out as I’m developing some new features from a fork of the OP’s Github project.

Thanks! But I did it. Just once again carefully made all the instructions.

---

<div class="post-metadata">

**Author:** ![RapidBull](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RapidBull](https://forums.unrealengine.com/u/RapidBull)\
**Post date:** [March 9, 2018, 10:09pm UTC](https://forums.unrealengine.com/t/dialogue-system/44974/454 "2018-03-09T22:09:38Z")

</div>

Where can i download working version of the plugin? Those one i downloaded from github doesn’t work. UE says “binaries is missing, plugin isn’t compatible with current engine version”

---

<div class="post-metadata">

**Author:** ![lightnarcissus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lightnarcissus](https://forums.unrealengine.com/u/lightnarcissus)\
**Post date:** [March 14, 2018, 6:47pm UTC](https://forums.unrealengine.com/t/dialogue-system/44974/455 "2018-03-14T18:47:08Z")

</div>

> [@RapidBull](#):
>
> Where can i download working version of the plugin? Those one i downloaded from github doesn’t work. UE says “binaries is missing, plugin isn’t compatible with current engine version”

This is the build for 4.18 made by Kelheor. https://…com/file/d/1LmVd6ACdFTUNMQdT2C58FNM3hOwKWKlP/view  
I’m currently updating to 4.19 so I’ll upload a version for that once I get to that.

---

<div class="post-metadata">

**Author:** ![lightnarcissus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lightnarcissus](https://forums.unrealengine.com/u/lightnarcissus)\
**Post date:** [March 15, 2018, 3:11pm UTC](https://forums.unrealengine.com/t/dialogue-system/44974/456 "2018-03-15T15:11:21Z")

</div>

Here’s the build for 4.19 → [Box](https://app.box.com/s/a7qeyv7g9jy1sg3h92ttuloi2oi4im9n)  
Let me know if any of y’all have trouble accessing the file.

---

<div class="post-metadata">

**Author:** ![Totespare](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Totespare](https://forums.unrealengine.com/u/Totespare)\
**Post date:** [March 20, 2018, 1:30am UTC](https://forums.unrealengine.com/t/dialogue-system/44974/457 "2018-03-20T01:30:58Z")

</div>

I’m having a problem here. Help please ☹

I’m trying to add a background image to the DialogueButtons that comes with the plugin. I set the images on the QuestionsSlot button’s child. Then I have a “problem”, because I want the buttons to expand and fill the full container, so if there is just 1, it will fill the entire container (by default an Scroll Box). You can’t fill a Scroll Box by definition, so I changed it for an HorizontalBox, which allows childs to fill the parent. Nice, should work, right? Well, on the UMG Editor it fills the whole container, but when I hit Play and show one question, it just sets to a default value. Here are the screens showing how it seems hitting Play and the hierarchy in UMG:

[![](https://i.imgur.com/KEjVtJr.png) ](https://i.imgur.com/KEjVtJr.png)  
[![](https://i.imgur.com/XvcmEBu.png) ](https://i.imgur.com/XvcmEBu.png)  
[![](https://i.imgur.com/MwyI36T.png) ](https://i.imgur.com/MwyI36T.png)

What could I do? I need to set a minimum size for every question, or at least be capable of filling my container… ☹

edit: I’m completely sure that is a QuestionsSlot management problem, because I can do what I want (fill, for example) with the same widget structure but not calling the container QuestionsSlot, so the problem lays on the Behavior tree nodes Show Phrases or Wait for an answer. Any clue of what may be the problem?

---

<div class="post-metadata">

**Author:** ![Totespare](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Totespare](https://forums.unrealengine.com/u/Totespare)\
**Post date:** [March 20, 2018, 8:21pm UTC](https://forums.unrealengine.com/t/dialogue-system/44974/458 "2018-03-20T20:21:39Z")

</div>

Also another problem… All the QuestionsSlot and the child text of the buttons are centered, no matter what I tell the button to align in the UMG Editor. Any clue? This plugin is hard to revamp…

---

<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:** [April 13, 2018, 11:05am UTC](https://forums.unrealengine.com/t/dialogue-system/44974/459 "2018-04-13T11:05:36Z")

</div>

it’s possible to completely ignore the input mode in the behavier tree? So that phrases will shown, but the player can continue to move normally?

I’ve found the relevant Code in BTTask\_ShowPhrases.cpp, but i dont know how to at an third “empty” option, to not change the input setting.

hope someone could help me.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_88bd548f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_88bd548f](https://forums.unrealengine.com/u/anonymous_user_88bd548f)\
**Post date:** [April 15, 2018, 8:26am UTC](https://forums.unrealengine.com/t/dialogue-system/44974/460 "2018-04-15T08:26:34Z")

</div>

Hi guys!

I’ve implemented the dialogue system and it’s working great. I’m new to blackboard, done all that stuff in blueprint instead so far. So I’m pretty lost with how to “go back” in the dialogue. To give you an example:

3 Questions:

1. Who are you?
2. What is this place?
3. Why do you look so blue?

If I pick question 1, I want to have new questions to ask:

1. What’s your name?
2. How old are you?
3. Where are you from?
4. Back

If I press back, I want to go back to the first 3 questions again. What’s the easiest way to implement this?

So, for my second question. I want already used questions to either not show or be grayed out, I guess that could be easy with a bool? Or is it already implemented in this system?

---

<div class="post-metadata">

**Author:** ![Opiaa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Opiaa](https://forums.unrealengine.com/u/Opiaa)\
**Post date:** [April 22, 2018, 5:17pm UTC](https://forums.unrealengine.com/t/dialogue-system/44974/461 "2018-04-22T17:17:15Z")

</div>

Hey! Got a question. Everything is workng, just I have one question.

If I have two NPC standing next to each other (in the radius) and press E to activate the bool variable, they both are starting to speak in the same time… Can I somehow add another condition which makes them speak to me? Thanks.

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

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