Battery Level HUD ingame empty

I have created a HUD for battery power ingame but when I start the game my battery is at 0 and I can’t figure out how to have it start at max battery. I have tried everything… Please help

Hey there @SoulsUnleahed! Welcome back to the community!

So if you’re using a progress bar in your UI, you have to set it’s percent to 100 here first. This will set it’s default for when you first spawn the HUD. However if you have it bound to any variables, that variable will take precedent on frame 1, if that’s the case you’d need to make whatever variable it’s bound to the correct percentage.
image

I’ve copied exactly what people have done on youtube. I set the percentage to 100 and my variable battery is set to 100 as well. I am literally so confused…

Hmmm we’d have to take a look at your BPs and we might be able to see the issue. You could post an image of the details and BP, if the BP is longer/more complex you could use this site, which is like a postbin for Blueprints. We also have a snippets section on this site you can navigate to on the left sidebar.

Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.