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"

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. 

Getting an input from an editable text box (and saving it for a highscore)

So I want to make a highscore list for my game which will first let the user type a name in an editable text box, and then reduce the entry to the first three letters (or just prevent the user from typing more than three letters), capitalising said three letters. So, my question is: is there a way I could do this (after the user either clicks the custom button or presses enter) where the huge yellow comment in the character blueprint is?

I made the highscore by following a tutorial on youtube, but since I have been fooling around for quite some time, it currently does not work. I did, though, manage to make the stuff that's currently in the huge yellow comment work while the whole highscore system was working. The NameInput is a widget where the text box is located. I am using UE 4.9.2. Hope I left enough info!

Product Version: UE older version
Tags:
nameinput1.png (395.4 kB)
nameinput2.png (198.1 kB)
more ▼

asked Aug 22 '18 at 11:48 PM in Blueprint Scripting

avatar image

HeroOfChernobyl
1 2

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

1 answer: sort voted first

[...]an editable text box, and then reduce the entry to the first three letters (or just prevent the user from typing more than three letters), capitalising said three letters[...]

You can do it directly in the widget:

alt text


Or even as simple like this, depending on what else you need to do with it:

alt text

capture.png (131.0 kB)
cap2.png (89.1 kB)
more ▼

answered Aug 23 '18 at 10:03 AM

avatar image

Everynone
14.6k 76 25 61

(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