Unreal Third person Shooter #81 - Swap Weapons (Part 2)

Project Files : In this episode of my unreal engine third person shooter series, I am going to continue with the weapon swapping system. Last time we implemented a way to popup a notification when player move closer to a weapon dropped in the world. Today, we will be working onhow to actually swap that weapon with the weapon we already have in the same category. That means, i am going to define 3 weapon categories, primary (AK, m16... automatic rifles) and secondary (revolver, pistol.. handguns) and special (sniper, rpg, crossbow). character will be able to carry 1 weapon in each category, when character walks into a dropped weapon, if he already has a weapon in similar category, for example, assume character has an AK 47 and walking near a M16. “Press E to swap AK with M16“ popup will appear. If player press E, the 2 guns will be swapped and player can shoot with newly picked up m16 rifle. ► 👇 𝐒𝐮𝐩𝐩Ү
Back to Top