This Unreal 5.3 Gameplay Ability System video is about swapping to another weapon when you walk over it. But first, we fix an oversight from the Destructible Actors video where errors were shown because SetByCaller values were not being set. We add a SkeletalMesh Component to the TDSWeapon class, and update the EquipWeapon functionality in TDSCharacter. After that, in the Editor (not browser), we update the Weapon Base Blueprint by calling the Character’s EquipWeapon function when the player runs over the Weapon, and also Load and Unload Ammo from the weapon on Equip and UnEquip.
https://dev.epicgames.com/community/learning/tutorials/8yG3/unreal-engine-13-weapon-pickups-and-swapping-let-s-make-a-top-down-top-down-shooter
1 post - 1 participant