Unlimited ammo problem

i have created a blueprint that allows the player to reload ammo and swap between 3 ammo types but when the player switches ammo the ammo is refillled back to max. is there anyway to fix this?

The only thing i can see right now, When you’re reloading, do you change the value of the GunPool variable ? There something wrong with this variable that you could maybe forget to set somehow, somewhere.

This is ammo count right? That you set to a default count righ = max clip our smething like this.

  • 1st make an int array that contains actually count of ammo that you get.
  • 2nd you need to set this array in the construction scrip with default values
  • 3rd you need to plug in this set a brench that check if the actual clip count is lower that the default that you set it to the lower 1 and not to the default