Hud Ammo Counter Multiple Guns?

Okay so heres where I was able to get to, what I am thinking is I am grabbing the two Current Ammo values for the trench gun and pistol, feeding them into a print to text (so it shows in the lower right corner). Currently this only works for the pistol and I haven’t been able to get them to flip back and forth when swapping weapons. Any suggestions?

EDIT: Forgot to post the screenshot of the blueprint

EDIT 2:

I thought out this system a bit further and came up with a solution! Basically i remade the array (same index per weapon) with only the current ammo variables, so melee is at index 0 (no ammo so its set to 0), pistol at index 1 and shotgun at index 2. This seems to work just fine for now.

Does anyone know if there is a better way to do this for optimization?