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. 

I can't see my character's variables when binding things in my HUD blueprint?

I feel like I've been going over this blueprint like a million times trying to find the problem, but I can't find anything wrong.

I've been trying to do this tutorial: https://docs.unrealengine.com/latest/INT/Engine/UMG/QuickStart/2/index.html

Here is my Player character blueprint: alt text

And here is my HUD blueprint: alt text

I feel like I followed the instructions to the letter but this happens when I try to bind my health and things to some text: alt text

None of the variables show up! I'm not getting any errors or anything either. Can anyone help me? Has anyone had a similar problem?

All the variables are Editable and NOT private, by the way. They're integers and floats too.

Product Version: UE 4.12
Tags:
cap.png (13.3 kB)
more ▼

asked Jan 28 '17 at 08:51 AM in Blueprint Scripting

avatar image

ULTIMATEPRIMETIME
8 2 6

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

2 answers: sort voted first

what umg widget property are you trying to bind to? perhaps the dropdown list is filtering to object types that can actually bind to what you are clicking - in which if you are trying to bind a brush or a vector, integers and floats wouldnt show up

maybe try creating a bind function to see exactly the type requested

more ▼

answered Jan 28 '17 at 04:00 PM

avatar image

BPANDREW
995 22 27 125

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

I'm just trying to bind my character's health value (which is a float) to a text widget.

Edit: I've realized that if I set my HP variable to a float I can bind that to a progress bar. So you are right about the list filtering out things it can't bind. I would like to have a numerical value for my health, armor, etc. and not a bar, so I started messing around and I found out that to use integers and stuff in a text box I'm not supposed to just select it in the drop box, I need to use a custom binding. Whoops.

more ▼

answered Jan 28 '17 at 06:50 PM

avatar image

ULTIMATEPRIMETIME
8 2 6

avatar image BPANDREW Jan 28 '17 at 11:35 PM

if you "create a binding" you can create a function that gets your data and turns it into the text you want - if you use the "format text" node you can very easily add extra information you might need like % signs and whatnot

(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