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"

Inputs in UMG

Hello,

  1. want to store the name of the player in the options , so the user cans type his name or pseudo in a EditableText box so it show the name of the user in the InGame HUD in the corner

  2. Is there any way to be able to detect the button that the user has pressed and store it like binding

and thank you

Product Version: Not Selected
Tags:
more ▼

asked Aug 29 '14 at 10:00 PM in Blueprint Scripting

avatar image

Amiot
43 6 9 16

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

1 answer: sort voted first
  1. You can promote the Editable Textbox to a variable. If you click at the box you can enable the Variable and change its name at the topmost field on the right side. Now you have different options. You could make a dialog that needs a button to be pressed to save the name. Now if the player types in the name and presses "accept"-button or something like this, you can bind a function to it, that saves the name to a savegame.

  2. You can bind function to buttons by clicking on the button and searching a field in the options menu on the right side. There should be a field that has a button with "Bind" on it. If you press it, you will be redirected to the Widget Graph and a new function will be created that is bound to the button. There you can define what it shall do. You can also rename the function like you would do in a normal event graph.

I would recommend to watch the Twitch Stream Record about UMG on Youtube. This should be the video: https://www.youtube.com/watch?v=FaBJYFhP5yo They show basic things and explain a bit.

more ▼

answered Aug 30 '14 at 12:32 AM

avatar image

eXi
6.8k 333 185 468

(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