Hi All! Im having a little issue with my weapon class. So far ive got a parent class that handles all the firing and shooting functionality for all weapons. I can create child blueprint classes based on this parent class and then modify requirements for each weapon such as weapon mesh, the damage, the sounds etc etc. I now want to implement an ammo function into the base weapon class but i have no idea how i should go about doing it. Ive got the decrement ammo function working and thats called whenever the player shoots the weapon. Im just confused as to how id go about doing the reload and when id call it.
Ive attached a screenshot of my BaseWeapon blueprint in this message as well as the decrement ammo function.
^^^ The Base Weapon BP where all the weapon functionality will go
^^^ the function called to decrement the ammo
Any ideas or help would be appreciated. Thanks guys!