x

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"

UE4.17 show messages in game

Hi. I made a login system witch displays messages for bad or success login ( example: "Error user not found" in case of bad login ). All works fine when I try it in stand-alone mode. When I package my game messages are not displayed. Why? Is there a command to display all messages ?

Product Version: UE 4.17
Tags:
more ▼

asked Feb 12 '18 at 09:39 PM in Blueprint Scripting

avatar image

Mandrake1983
26 2

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

1 answer: sort voted first

Sounds like your using the print string node ?

If so that only works in development not when packaged.

If not then ignore the previous answer and then I would ask for more information. A screenshot of the offending BP.

more ▼

answered Feb 13 '18 at 02:31 PM

avatar image

Exonfluxx
384 1 5 8

avatar image Mandrake1983 Feb 13 '18 at 02:36 PM

Yes I am using print string and now I know that print string doesn't work on packaged game. Is there a way to display messages? I tried with draw text but with no result.

avatar image Exonfluxx Feb 13 '18 at 02:43 PM

Use a widget to show the message.

setup a widget with a text box where you want it on the screen then bind a function on its visability and where you have it call the error print string have it call that function and switch it to true.

add the widget to view port when you start the game.

Here is a good resource on Bp Widgets

https://www.youtube.com/watch?v=XVU5vNnhgxo

avatar image Mandrake1983 Feb 13 '18 at 05:21 PM

Thank you. I know how to make a widget but I have no idea how to male what you suggested. I am searching for some example but still not anything

avatar image Mandrake1983 Feb 14 '18 at 07:20 AM

Ok I fixed trying as you suggested. Thank you!!

avatar image Exonfluxx Feb 14 '18 at 04:33 PM

Cool Please mark as answered :-) Ty

(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