# Drop the sword, and replace if I want to pick up other weapons

**URL:** <https://forums.unrealengine.com/t/drop-the-sword-and-replace-if-i-want-to-pick-up-other-weapons/480411>\
**Category:** Blueprint\
**Tags:** pickup, actor-blueprint, unreal-engine, question\
**Created:** [March 16, 2021, 8:13pm UTC](https://forums.unrealengine.com/t/drop-the-sword-and-replace-if-i-want-to-pick-up-other-weapons/480411 "2021-03-16T20:13:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JulianusBarat](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JulianusBarat](https://forums.unrealengine.com/u/JulianusBarat)\
**Post date:** [March 16, 2021, 8:13pm UTC](https://forums.unrealengine.com/t/drop-the-sword-and-replace-if-i-want-to-pick-up-other-weapons/480411/1 "2021-03-16T20:13:53Z")

</div>

I’d like to do something in my game, If I don’t have any weapon, pick up the sword. But if I have other weapon like a hammer and I want to pick a sword up, drop the hammer from my hand and replace the sword.

I’m new to unreal engine so I don’t really know how to do this. I looked for solutions, but I couldn’t find the right one.

Thanks in advance for the help.

The sword on the map:

 ![332685-swordonmap.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/0/1/f01d7c676cd7a50ee196571916756882e3298cb3.jpeg)

Master Weapon Actor Blueprint:

 ![332686-master-weapon-actor-blueprint.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/1/a/31a4d6b1977bd4de48c07f813c8b31400586fef0.png)

ThirdPersonCharacter Blueprint E Key Call Picking Up Weapon:

 ![332687-thirdpersoncharacter-blueprint-e-key-call-picking.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/8/4/7843466153e8bdd589db6ac141fa1874c9baed52.png)

Server Set Weapon And Destroy Actor When It Picked up:

 ![332688-server-set-weapon-and-destroy-actor-when-it-picked.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/b/8/1b80ce60bd398bbf896aa1e41d91842a54214f17.png)

RepNotify Inside:

 ![332689-repnotify-inside.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/4/8/248d7b77ea055d4419d9d6d904b73ee3255b0a6c.png)

---

<div class="post-metadata">

**Author:** ![Two.flower](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Two.flower](https://forums.unrealengine.com/u/Two.flower)\
**Post date:** [March 16, 2021, 8:49pm UTC](https://forums.unrealengine.com/t/drop-the-sword-and-replace-if-i-want-to-pick-up-other-weapons/480411/2 "2021-03-16T20:49:32Z")

</div>

Hi

I’m not sure how to alter what you’ve got set up already, but as you said you’re looking for solutions… I started mine off the below tutorial which has your basic pick up and switch weapon, hope you find this useful if you don’t get a solution to what you have already:
