I created a master weapon/gun blueprint with many variables inside of it that govern the ammo, etc. I am trying to attach the ammo stored and ammo in clip variables into a HUD. In the HUD I made a reference to the master weapon with the variable inside of it. I attached the ammo variable to the binding, but I am getting a runtime error, or the variable doesn’t show up. I have tried many different ways of doing this but same results. Can I get some help with this please?
Hey there @anonymous_user_291a450b! Welcome to the community! Do you have a valid check to make sure the gun’s variable is visible to the HUD? If the reference isn’t set during runtime, may we see the blueprints and the error it puts out?
Thank you for the welcome. I will tell you know that I’m fairly new with blueprint, so my question to you is how would i go about making sure there is a valid check to make sure the gun’s variable is visible to the HUD? The runtime error stopped but the variable is still invisible. Here is the blueprint as well.
I’m embarrassed to say I figured it out. Thank you anyways.
2 Likes