I create a HUD widget to show the ammo count. Everything works fine (i think) but the blueprint doesn’t want to read the ammo variables from the character (the hud returns 0 instead of actual value). I complete newbie in UE4 so I used the tutorial https://docs.unrealengine.com/latest/INT/Engine/UMG/QuickStart/2/index.html . I have done everything exactly like in this tutorial but for some reason the count still don’t work.
Here’s some screens
Casting character
Variable read
Maybe I just broke something in such a dumb way or the problem is more complicated.