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. 

making a health system thats not in percent

I have followed tutorials on how to make a health bar and take damage, but all the tutorials are the same. Set you variable to float and set it to 1.0 for 100 percent, which is 100 health. I want to make my character have more than 100. Especially when they get and item that has a random hp gain. How do I set this to not be percentage.

I want big number to float up when they are hit.... well bigger. I am new to game programming, but learning fast. Just cannot find this answer yet.

Product Version: UE 4.19
Tags:
more ▼

asked Apr 24 '18 at 02:32 AM in Blueprint Scripting

avatar image

MizphitReign
6 1 4 4

avatar image ThompsonN13 Apr 24 '18 at 03:05 AM

are you saying that you want the health value to be more than 100 or the percentage? if you mean the health value like your player having 500hp then just use the normalize to range node and have a variable for max and current health. if you are talking about having a bar that goes beyond 100% im not sure that possible.

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

1 answer: sort voted first

hmm, didn't know about the normalize to range command. will have to look futher into that. thanks for the info to send me in the right direction

more ▼

answered Apr 24 '18 at 03:26 AM

avatar image

MizphitReign
6 1 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