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"

Progress Bar Set Percent Wrong

Than i read 1.0 or another percent from variable it sets wrong. Always ~ 0.2. But if i will set on input 1.0 or 0.8 it will set good. I suppose it is a bug

https://answers.unrealengine.com/storage/temp/271401-1.png https://answers.unrealengine.com/storage/temp/271402-2.png https://answers.unrealengine.com/storage/temp/271403-3.png https://answers.unrealengine.com/storage/temp/271404-4.png

Product Version: UE 4.21
1.png (177.3 kB)
2.png (104.3 kB)
3.png (45.1 kB)
4.png (65.4 kB)
more ▼

asked Mar 14 '19 at 05:02 PM in Bug Reports

avatar image

31 3 8 14

avatar image Jeff A ♦♦ STAFF Mar 14 '19 at 05:22 PM


We've recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.



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

1 answer: sort voted first

Your message is very hard to understand, consider rewriting it a bit.

So... what are your Health and *Max Healt*h values. I'm 99.98% sure it's the math that fails here.

more ▼

answered Mar 14 '19 at 10:06 PM

avatar image

13.7k 74 25 57

avatar image chernoburk Mar 15 '19 at 10:47 AM

Health & Max health = 100. I checked this. It's very interesting because hp/maxhp = 1, but if i will put it in percent input it's always ~ 0.2 in progress bar. I tried to truncate in and input integer. Truncate returns 1 integer and it's == True Boolean but if i will input this integer 1 like percent it sets 0. I created this code some weeks ago and it worked right. But after this time, it doesn't work though i didn't change something in that code.

avatar image chernoburk Mar 15 '19 at 11:07 AM

I found solution. It's bug because of wrong max hp replication. On client it was 500. On server 0.2 And i suppose i called this function wrong.

(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