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"

Health Bar - Does not reduce by .25

In the tutorial there is a simple UMG example with a health bar. I've set the health variable to 1.0. and then added the attached to the FirstPersonCharacter BP. alt text

I then bound MyCharacter.Health to the PERCENT under PROGRESS in the HUD (Progress Bar). But, what happens is when I press F the entire health bar goes to zero, not down 1/4 of the way.

Any insight into what I am doing wrong is appreciated. Thanks!

Product Version: UE 4.8
Tags:
capture.jpg (22.3 kB)
more ▼

asked Aug 22 '15 at 07:16 PM in Using UE4

avatar image

teak421
1.3k 34 13 51

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

1 answer: sort voted first

you should stick the Get Health in the upper slot of the subtract node and the 0.25 in the lower.

more ▼

answered Aug 22 '15 at 07:18 PM

avatar image

UDKAP
474 29 43 67

avatar image teak421 Aug 22 '15 at 07:23 PM

Ack! Thanks......It worked!

(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