Announcement

Collapse
No announcement yet.

Help Printing Text From trigger box

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Help Printing Text From trigger box

    So I want to have a trigger box when stepped in displays text on the viewport (not in the corner, like the center of the screen, where I can change my text and font sizes).


    Click image for larger version

Name:	TriggerBox.JPG
Views:	1
Size:	49.9 KB
ID:	1227069
    Click image for larger version

Name:	HUD.JPG
Views:	1
Size:	39.2 KB
ID:	1227068
    This is my trigger box blueprint, so I added an event to fire when collided with, and that to a set node which will let the custom event fire. Now here is where I think I have an issue, I need the object pin of the cast to MyHUD node(I named the HUD to MyHUD). I don't know what it needs, or how to approach this. I have tried several methods and ways and I seem to get stuck at this step with the warning
    Click image for larger version

Name:	warning.JPG
Views:	1
Size:	14.7 KB
ID:	1227070

    After that node is connected to my custom event which is the second picture which adds something to the viewport (Or I think it does that).My final goal is to have the text appear in the center of the viewport when the trigger box is being overlapped with.

    I'm pretty new to blueprints so I may have made a really stupid mistake but thanks in advance.
    Attached Files

    #2
    Open MyHUD actor and in the very upper right corner it will tell you which class your actor is directly inheriting from. In your case it should read "Parent Class: HUD". Does it?
    Last edited by Everynone; 08-21-2017, 04:20 AM.

    Comment

    Working...
    X