I’ve modified it to do just that, at least I think it’s supposed to be doing that. I have a PC Stored Ammo In Clip and PC Stored Spare Ammo as well as a Stored Ammo In Clip and Stored Spare Ammo, the PC stands for Player Character and those are empty integers that live in the player character blue print. The non PC integers live in the pick up class.
When I drop the weapon the pick up class stored ammo variables are supposed to be set based on what the current weapons ammo is at the time of dropping it, this is what that code looks like.
Then, when I pick up a weapon it should check the pick up class bool of DroppedByPlayer?, and if true, then it should pull from the PC Stored ammo variables. If false it’ll resort to the class defaults as seen in this code here.
But this isn’t working because the DroppedByPlayer? bool never returns true, even after I drop and pick up a weapon. I’m not sure why this is though.