November 26, 2017, 7:01pm
I am having problems with my dialogue system. I used a documentation to make this.
A new, community-hosted Unreal Engine Wiki - Announcements and Releases - Unreal Engine Forums
No I am getting these weird errors, and I am not experienced enough to know what I did wrong.
In the picture that I added as an attachment you can see the errors and the blueprint in which the errors occur.
If you have any questions, ask and I will reply as soon as possible.
November 26, 2017, 9:42pm
You are trying to cast a TextRenderActor type to an NPC_Dialogue type, which as the error suggests will always fail.
What is the parent class of NPC_Dialogue? The cast will only be successful if it inherits from TextRenderActor.
This page does a pretty good job explaining how casting works in Blueprints which will lead you to the correct solution:
November 27, 2017, 9:18pm
The parent class of NPC_Dialogue is Actor.
How do I get it to inherit the TextRenderActor, and what do I put into the “get all actors from class” note?
I have read the documentation that you added, but it did not make me any wiser on how to solve this problem.
December 1, 2017, 8:53pm
Anybody knows what to do?
December 30, 2017, 2:27pm
I still havo no idea how or what to do. If you are reading this, can you help?