# Destroy an actor per client?

**URL:** <https://forums.unrealengine.com/t/destroy-an-actor-per-client/441186>\
**Category:** World Creation\
**Tags:** Destroy, actor, Server, dedicated, unreal-engine, Blueprint, question\
**Created:** [January 12, 2019, 11:00pm UTC](https://forums.unrealengine.com/t/destroy-an-actor-per-client/441186 "2019-01-12T23:00:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Galaaas](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Galaaas](https://forums.unrealengine.com/u/Galaaas)\
**Post date:** [January 12, 2019, 11:00pm UTC](https://forums.unrealengine.com/t/destroy-an-actor-per-client/441186/1 "2019-01-12T23:00:27Z")

</div>

Hello all and have a good year ! 🙂

I have a question : How to destroy an actor per client on a dedicated server ? I mean when THIS player (thirdpersoncharacter) destroy a specified actor (With Overlap), it’s not destruct for others.

I’ve test a lot of solution with custom events but i definitely don’t find …

Thanks you very much !

---

<div class="post-metadata">

**Author:** ![Game\_Studios\_LLC](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/game_studios_llc/32/88709_2.png) [@Game\_Studios\_LLC](https://forums.unrealengine.com/u/Game_Studios_LLC)\
**Post date:** [January 13, 2019, 8:18am UTC](https://forums.unrealengine.com/t/destroy-an-actor-per-client/441186/2 "2019-01-13T08:18:08Z")

</div>

Here is my Looting Event that gets called when the player presses the “E” key while looking at a lootable item. This setup workflow will work for any setup as long as you properly replicate your item (actor to destroy) as well as the events.

 ![265217-screenshot-27.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/4/7/e470e11cdd7df4e667c48bab05c2078b5bef34af.png)

---

<div class="post-metadata">

**Author:** ![Galaaas](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Galaaas](https://forums.unrealengine.com/u/Galaaas)\
**Post date:** [January 13, 2019, 11:19am UTC](https://forums.unrealengine.com/t/destroy-an-actor-per-client/441186/3 "2019-01-13T11:19:54Z")

</div>

Hello, thanks for your answer !

Your code works great, but not has expected …

I want destroy actor only for the player (client) who pick up the actor, not for others clients. I think it be a copy for each client or detect which client do this action, or somehing like that …

---

<div class="post-metadata">

**Author:** ![Game\_Studios\_LLC](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/game_studios_llc/32/88709_2.png) [@Game\_Studios\_LLC](https://forums.unrealengine.com/u/Game_Studios_LLC)\
**Post date:** [January 14, 2019, 2:26am UTC](https://forums.unrealengine.com/t/destroy-an-actor-per-client/441186/4 "2019-01-14T02:26:25Z")

</div>

So instead of calling “Destroy Looted Item” just call “Destroy Actor”.

As long as your Character is Replicated, you don’t need to call “Per Character” functions. You just simply need to set it up so that when a Player loots, it destroys the actor and then since your character is replicated and each player controller possesses a Character instance of that class, it’ll automatically replicate as it should.
