Creating a message

Hi,
sorry for the generic answer but I still don’t know how to explain it.
I want to create a message on the screen, like when someone tells you something during the gameplay.
(I uploaded two photos as examples)
I don’t think that the widgets blueprint are the best feature to do it.
So, how can I make a pop-up message?
I prefer using Blueprints, but in c++ is still good.
Thanks in advance.

Hey, why do you think that widgets wouldn’t be the best way? I personally think it would work fine for something similar to the screenshots

When you make UI or HUB for your game you should function that display message from which you can call from anywhere (you could forward function in to GameMode or PlayerController for simplicity). If you use UMG, such fuction would create text widget and animate if needed when function is called and destroy widget when it’s done animating, you can also make pernament text widget queue system which will change text of text widget and animated, switch to next text from queue and animate it again, do nothing when queue will be emptied.

For this perticial example you gave (images) in you would need to create whole conversation system which most likely involves creation of conversation script asset on your own which can contain and edit huge amount of text you gonna have, since in stack UE4 there no tool that allows you to do that in comftible way… not to mention display it in sequance you don’t want to code this over and over again right for each conversation right? In marketplace there ready solutions for that so you can look it up but they are not free. But if you don’t plan to make huge amount of text i think simple solution i mention above might do the job.

UMG Widgets are fine for this; you just have to learn the trick of translating world coordinates to UMG coordinates to make the box appear over the character’s head.

The second screenshot doesn’t even require that because the dialog is expressed with a pop up artwork of the character who is currently speaking, so no special positioning is needed to indicate who the speaker is.

Thanks for the response. I created the “message box” via Widget (one for every sentence) but, like what you said, a pernament text widget queue system would be better. I tried searching it but I haven’t found anything. Do you have any advice?