Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

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. alt text alt text

Product Version: UE 4.18
persona5.jpg (182.9 kB)
more ▼

asked Apr 11 '18 at 08:51 PM in Using UE4

avatar image

5 2 3

avatar image vivalabugz Apr 11 '18 at 08:57 PM

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

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

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.

more ▼

answered Apr 12 '18 at 02:24 AM

avatar image

36.5k 930 169 1111

avatar image sirdynamite09 Apr 15 '18 at 02:39 PM

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?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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.

more ▼

answered Apr 12 '18 at 03:09 PM

avatar image

3.8k 18 20 20

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question