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"

my progress bar is not working its not going up or down

Product Version: UE 4.15
Tags:
more ▼

asked Mar 16 '17 at 04:57 PM in Blueprint Scripting

avatar image

Knight9871
25 3 3 4

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

1 answer: sort voted first

A progress bar requires a percentage, this is between 0.0 and 1.0

Based off the information you have shown, you're passing it values greater than 1.0 so the bar will never be anything less than full.

To get a percentage, you need a max value and a current value, your percentage will be cur/max. So if you have 5 health out of 10 health, you are at 50% health. 5/10 = 0.5

more ▼

answered Mar 16 '17 at 05:15 PM

avatar image

MajinSephiroth
1.2k 31 8 33

avatar image Knight9871 Mar 16 '17 at 05:34 PM

ok and i do have a staminahealth, so what your saying is that if i want it to be 10% it would be 0.1 and if i wanted it to be 1% would it be 0.01 ?

did i forget to show the maxstamina?

(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