How do I stop my ammo reserves from going below zero? This Limited Ammo function works fine except the Reload is allowed to subtract beyond the available amount. There is a boolean that denies reloading when Reserves equals exactly zero but I am struggling to find how to deny pulling more ammo than is available in reserves.
Boolean: Has Enough Ammo = True when Reserve ammo is > 0
Clip Size: is the max clip size of the weapon
Current Ammo: is the current ammo within the clip
Ammo We Need: The amount of ammo missing in the clip
All Ammo: by default is the maximum ammo Reserves for the weapon.
I know the issue is immediately after “Ammo We Need” is set but I don’t know what function is available to solve my problem.