Basically, I made a Actor Blueprint called Waypoint which gets and store the distance between this Waypoint and the Player. I made another TextRender Actor Blueprint called Text2Display-W with a variable and a event of displaying the text in the variable.
I dragged the Text2Display-W Blueprint from content browser to Waypoint 's Component Tab, and dragged the Text2Display-W block from Component Tab to Event Browser, trying to get it while executing events.
I tried to execute the event written in Text2Display-W but i’m unable to access:
It’s telling me that I’m actually dragging a child actor component, not the Text2Display actor component:
I’m not sure how to fix this problem, can someone help me explain why? I’m thinking of this system being similar to Unity’s component system.
BTW, I made it working by using Get All Actors Of Class method, but I’m trying to optimize it.