Questions about text box and Blueprint Office -Tutorial

Hiyas

I am trying to learn Unreal Blueprint so I can make a text box similar to how the demo Blueprint Office has.

I migrated the text box to my project to see how it is done and there seems to be some issue.

The text box has lost most of it’s features altho the blueprint looks identic to the old one. It migrated all the references aswell but still it isnt working. The text box is fully visible all the time instead of opening and closing via proximity. Thus I am puzzled on how to fix it?

I would also like to modify the blueprint so it works from mouse click instead of proximity and I am unsure, which portion of the blueprint I need to change to modify it?

I appreciate all the aid you can give and if you know any good tutorials about text box or similar options feel free to post em though I am still a beginner with Unreal and do not know how to code.

Sincerely
Ren

Hi Mr_Ren,

To get the popup to expand correctly:

  • Click on the blueprint in your level.

  • In the Details panel you should see an exposed public variable for Preview Mode.

  • Make sure to disable it. Do this on all of the text boxes that you want to have open when approached.

The portion of the blueprint to modify in order to add OnClick events would be the section titled “The box is triggered by pawns overlapping the sphere component”. You would need to add mouse click functionality to you project then change this portion of the blueprint to on clicked instead of overlap.

TJ

Thanks for the answer I have now managed to edit the text box to be clickable aswell as touch sensitive. Though now I have another issue and wanted to ask if there is an easy solution to it.

The text box that appears has too little space for text and if I add too many lines the box will spread too much thus was wondering is it possible to spawn another text box in the same location as old?

I mean a person would click once to open the box then click another time , which would close the old one and open a new text box with new text.

Thus wanted to ask for advice how I could do it as currently Im trying to do it with having invisible static mesh as trigger to the textbox. It’s a component for the text box but as it is component for it , it doesnt seem like it can be used by other text boxes as their trigger aswell.

Any advice would be appreciated