# Cast to problem within a dialog system

**URL:** <https://forums.unrealengine.com/t/cast-to-problem-within-a-dialog-system/67870>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [June 30, 2016, 7:05pm UTC](https://forums.unrealengine.com/t/cast-to-problem-within-a-dialog-system/67870 "2016-06-30T19:05:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bobbykr1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bobbykr1](https://forums.unrealengine.com/u/bobbykr1)\
**Post date:** [June 30, 2016, 7:05pm UTC](https://forums.unrealengine.com/t/cast-to-problem-within-a-dialog-system/67870/1 "2016-06-30T19:05:19Z")

</div>

Hey guys,

I´ve a little problem with casting to another blueprint.

I want to set up a simple dialog system within the third person template.  
I created a blueprint interface and duplicate the third person character, named “interact” (it´s the actor I want to talk to, without ai controller or something else…).  
If I want to send informations from the third person character (player) to the interact character,  
I use “player character” as object on “Cast To ThirdPersonCharacter”  
But what should I use as object if I want to send informations from the “interact character” to the “third person character”  
I hope anyone could help me with this little problem.  
Thanks in advance and sorry for my bad english 😃  
greetings from germany  
Janis Baumeister

 ![casttofail.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/9/e/9ef85a1e1400d252d4e168691bcd948eee36f79d.jpeg)

---

<div class="post-metadata">

**Author:** ![Hakabane](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hakabane](https://forums.unrealengine.com/u/Hakabane)\
**Post date:** [June 30, 2016, 8:40pm UTC](https://forums.unrealengine.com/t/cast-to-problem-within-a-dialog-system/67870/2 "2016-06-30T20:40:59Z")

</div>

You can drag off of “get player character” node since both your 3rd person character and your interact character are the same class type.

---

<div class="post-metadata">

**Author:** ![RomeroBlueprint](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/romeroblueprint/32/251420_2.png) [@RomeroBlueprint](https://forums.unrealengine.com/u/RomeroBlueprint)\
**Post date:** [June 30, 2016, 8:45pm UTC](https://forums.unrealengine.com/t/cast-to-problem-within-a-dialog-system/67870/3 "2016-06-30T20:45:50Z")

</div>

Since you are in the blueprint “interact” you do not need a “Cast To” to get a reference to the “interact” object. You can just use “Self”.

---

<div class="post-metadata">

**Author:** ![bobbykr1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bobbykr1](https://forums.unrealengine.com/u/bobbykr1)\
**Post date:** [June 30, 2016, 9:10pm UTC](https://forums.unrealengine.com/t/cast-to-problem-within-a-dialog-system/67870/4 "2016-06-30T21:10:14Z")

</div>

Thanks, for the fast answer. but cast to “interact” from the “3rd Person Character” doesn´t work with get Player Character as Object… -.-  
 ![9e8abcf04312947235273352b3842a28de129f8b.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)
