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"

How to make a widget display a variable

Hi everyone! I'm a big beginner with unreal engine, to be honest I can barely understand what I do when following tutorials. It's hard for me but i'm not giving up.

Here's my problem: I'm just trying to display a widget with a text written in it, the text displaying a variable "money" I had no problem making the widget appear when I want and displaying some text, but I can't get the text to show the value of my variable "money". I tried to get the variable, transform it to a text, and give it to my text box, but it just won't work.

I've seen similar problems on the forum, but I don't understand most of the answers since they are quite specific. I need something more general.

What would you do if you had to display a variable in a widget?

Thanks for the answers, sorry for bothering you !

Product Version: UE 4.14
more ▼

asked Mar 02 '17 at 01:03 PM in Blueprint Scripting

avatar image

3 1 1 3

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

1 answer: sort voted first

You can bind variables to the text of a widget for example. You can either tell to which variable your value should be bound or you are able to create a binding if you do not have something which fits your needs.

With this binding the value inside of the widget will always be the same like this value of the variable itself.

more ▼

answered Mar 02 '17 at 01:10 PM

avatar image

116 2 3 6

(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