Having trouble displaying the Max Ammo/Ammo you currently have on the Hud

I assume the problem relates to the blueprint but I’m a bit new at this so I don’t really know.
I’m trying to display the max ammo and how much you currently have to the hud screen, but because of whatever I did wrong it’s only displaying 0/0 besides 10/10.

I’ve played around a little bit and got something to work but I was wondering if someone could tell me a more efficient way to do this?

Get the owning actor instead.

This may not be the best way of doing things but I added a variable which is a reference to the ShooterCharacter object which I could use to bind to the widget.

SubObjectProperties

This node would be better
image

Thank you guys for the help I was able to get it working a lot better than I had previously.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms