How can I show my bullet count on the HUD in Blueprints?

Hey, i’m trying show my bullet count on HUD. I have a character_bp class. It has controllers. When i fire it does bullet=bullet-1 and it works properly when i print it. But i cant use my bullet int variable on my HUD_bp class. Please i need help. Thanks.

Hi Barbaros,

In order to read the variable in your HUD, you’ll need to pass the information to it. One way would be through a Blueprint Interface (see the attached link).

You can also take a look at the Content Examples and HUD map - as there is an example for passing a Health Variable to the HUD (which could get you started).