I’ve been trying to figure this out for a bit, I’ve been trying to make a retro styled fps for a bit but could never figure out a system that allows for weapon switching, weapon unlocking and carrying multiple weapons. I could figure out how to make a weapon switching system by itself, i could figure out how to make a pick up system by itself, but they both used making said weapons take use of being active and not active, and haven’t been able to work together.
Try making a List to hold all your Weapon objects. Then for your Player just set the current weapon = List[ index ] where index is the number of the weapon.
Set .active = false when adding to the list. Set .active = true when assigning to the Player.
thank you, ill try it out