Linking health bar UI to health values?

SolitaryBunny

New member
Good day,
I seem to be having some trouble with my health bar not displaying or sliding as health values change.
I created my character through the UCC but it came in without a health bar for some reason, checked the demo in ultimate inventory, added UI slider HP monitor onto the slider and the damageable script onto my character, also changed the health values in the character attribute manager and character health scripts but not sure what else im missing to make the slider communicate with these values so that when im damaged the health bar goes down visually on screen, I can see in the inspector under the character health script the numbers are going down so Im thinking it is just a visual issue ..?
 
Swapped out the HP monitor for the Attribute Monitor on my slider and everything seems to be in order now, just having a bit of a battle with numbers, Ive set my health to 1000 and the slider max value to 1000 but when im damaged instead of going down slowly in increments of 10 as specified the slider on screen jumps to 1 and then decends in 0.1 decimals making it seem like the character has no health left. But at least the slider is moving now , so its a start.
 
Top