So when ammo is picked up its adds the ammo to the capacity variable like this
0 / 10
now when R is pressed, the player reloads adding the 10 to the Ammo making it
10 / 0
Now lets say I pick up 20 Ammo and it ads to the capacity
10 / 20
and the player shoots and uses only 5 bullets
5 / 20
On R Pressed [reload] How would I go about adding the missing ammo to the Ammo to make it
10/ 15
The ammo max is 10 so I would just like to add the missing amount to the ammo and take away said amount from the capacity
My CapX looks like this
i.gyazo.com/88f7e97fcaef67d6b9cfc6883f5b54d7.png
Heres the CapX if you need it. Please take a look and help a fellow C2 Dev out!
dropbox.com/s/m0j016un029x9bb/ShootTemplate.capx