For the weapon system I want to create each gun will use an inventory object called magazines, which stores information, specifically the ammo in it. A magazine will be interacted with by the weapon, where the FireAmmunition function would reduce the amount of ammo in the Magazine object. Reloading would of course place in the magazine with the largest ammo count.
What I have no idea what to do is having the inventory/weapon select a Magazine actor if they are all exactly the same (all have the same ammo). It doesn't matter which one, but I don't exactly know how to tell the game this.
What I have no idea what to do is having the inventory/weapon select a Magazine actor if they are all exactly the same (all have the same ammo). It doesn't matter which one, but I don't exactly know how to tell the game this.