Really hoping someone can provide some insight into this problem. I’ve got a WeaponBase BP that stores quite a bit of info including my Variable for Ammo. Now I’ve set it as Instance Editable so that I can change ammo amounts in each of the child BP’s.
I can then check the ammo count and continue firing or stop firing if the count is zero. It’s working great for each of my different weapons and printing the ammo count correctly based off which weapon is selected.
Where I am struggling is getting the ammo count to appear in the HUD widget that the player character spawns on BeginEvent.
In the HUDBPTextFunction screenshot I feel like that “code” will work…if only I could figure out what to plugin to the Object field.
Anyone have any ideas for me? I’d love to place the Ammo variable in the PlayerCharacter BP but then it wouldn’t be easily replicated to different weapons like it is now.