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. 

Converting numbers to 0-1 range?

I'm trying to code in my health bar for UMG display using a progress bar. The problem here is that anything above health or other value set above 100, is difficult to set to 0-1. how do i do this? a pic would be most helpful.

Product Version: Not Selected
Tags:
more ▼

asked Oct 01 '14 at 09:24 PM in Blueprint Scripting

avatar image

HorusHeretic
40 9 9 25

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

2 answers: sort voted first

alt text

Figured it out :)

0-1 helper.jpg (84.1 kB)
more ▼

answered Oct 01 '14 at 10:34 PM

avatar image

HorusHeretic
40 9 9 25

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

Update for everyone: Some years passed we have 'Normalized to Range' now.

Lerp and Reverse Lerp is useful too.

more ▼

answered Oct 17 '17 at 06:52 PM

avatar image

HeliaXDemoN
24 4 4

(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