Weapon Selection System

I made it int this way.

The BasicWeapon with Basic Fire, Reload, Zooming(Sniper) ect. Function and a Variable “IsEquiped”.
In the Childs i changed functions like ClipLoading to Shotgun Shell loading and FireRate, AmmoCount, ClipAmmo, Mesh ect.

I Created a Inventory (Simply a Array of type BasicWeapon).
In Char BP are functions for Equip(Set Weapon is Equiped and Attach WeaponMesh), Unequip(Set IsEquiped = False and deAttach Mesh) and GetEquipedWeapon(ForEach the InventoryArray and Return Weapon IsEquiped = true).
There also The Controlls for FireButtonPressed -> GetEquipedWeapon -> Fire ect.

Now you can (MouseWeel Controll or Keyboard Keys) Simply Iterate the Array for Change the Weapons from “Inventory”

Greez