I managed to make the game count the items collected (here I call them Life) and print the number to screen. However, I want to have it add the number to a HUD.
this is what I have in the Life actor blueprint (the adding function)
It would probably be more efficient to handle the variable stuff in the pawn’s BP.
As far as printing to your HUD goes, change the binding to a new variable (i.e. Life) in the widget, and during the tick even cast to the pawn and set the widget’s Life variable to the pawn’s variable. I’ve personally only ever had problems with binding functions on widgets.