# How does work an auto pickup?

**URL:** <https://forums.unrealengine.com/t/how-does-work-an-auto-pickup/93628>\
**Category:** ARK: Survival Evolved\
**Tags:** unreal-engine, Ark:-Survival-Evolved, Modding\
**Created:** [June 3, 2017, 10:08am UTC](https://forums.unrealengine.com/t/how-does-work-an-auto-pickup/93628 "2017-06-03T10:08:29Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon2544177](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon2544177](https://forums.unrealengine.com/u/anon2544177)\
**Post date:** [June 3, 2017, 10:08am UTC](https://forums.unrealengine.com/t/how-does-work-an-auto-pickup/93628/1 "2017-06-03T10:08:29Z")

</div>

Hi,

there is a post about this topic? I havent found…  
My issue: I will mod a storage box was auto pickup an item in range xx

Maybe has someone a idee to resolve this issue…

Thank you.

Greetings

---

<div class="post-metadata">

**Author:** ![Huston850](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Huston850](https://forums.unrealengine.com/u/Huston850)\
**Post date:** [June 3, 2017, 7:53pm UTC](https://forums.unrealengine.com/t/how-does-work-an-auto-pickup/93628/2 "2017-06-03T19:53:07Z")

</div>

I can’t find it either. I know it exists, because I posted my egg collector in it. You’ll have to determine how to “initiate” it, but here’s what my egg collector does:

[![](https://i.imgur.com/0U7Arlm.jpg) ](https://i.imgur.com/0U7Arlm.jpg)

---

<div class="post-metadata">

**Author:** ![anon2544177](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon2544177](https://forums.unrealengine.com/u/anon2544177)\
**Post date:** [June 4, 2017, 7:43am UTC](https://forums.unrealengine.com/t/how-does-work-an-auto-pickup/93628/3 "2017-06-04T07:43:42Z")

</div>

wow Huston850, I will test it, thank you very much 🆒

---

<div class="post-metadata">

**Author:** ![anon2544177](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon2544177](https://forums.unrealengine.com/u/anon2544177)\
**Post date:** [June 4, 2017, 11:56am UTC](https://forums.unrealengine.com/t/how-does-work-an-auto-pickup/93628/4 "2017-06-04T11:56:47Z")

</div>

Somehow it does not work  
 ![76b316ce6ab9d2684ec6ea93be91e85f5172cf7f.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

---

<div class="post-metadata">

**Author:** ![Huston850](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Huston850](https://forums.unrealengine.com/u/Huston850)\
**Post date:** [June 4, 2017, 7:19pm UTC](https://forums.unrealengine.com/t/how-does-work-an-auto-pickup/93628/5 "2017-06-04T19:19:30Z")

</div>

Because “Is Active” isn’t true. Just remove that checkpoint.

---

<div class="post-metadata">

**Author:** ![anon2544177](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon2544177](https://forums.unrealengine.com/u/anon2544177)\
**Post date:** [June 6, 2017, 8:49am UTC](https://forums.unrealengine.com/t/how-does-work-an-auto-pickup/93628/6 "2017-06-06T08:49:36Z")

</div>

It works now but the fertilized egg will not pick up?  
What do you inputted in the second box “Substring”?

---

<div class="post-metadata">

**Author:** ![Huston850](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Huston850](https://forums.unrealengine.com/u/Huston850)\
**Post date:** [June 6, 2017, 10:08am UTC](https://forums.unrealengine.com/t/how-does-work-an-auto-pickup/93628/7 "2017-06-06T10:08:56Z")

</div>

The second substring branch is to check for fertilized eggs. When “Find Substring” returns -1, it means it was not found. So that is saying “if string does not contain ‘ferti’ then go on.” Just switch that branch to false or remove it to get it to pickup fertilized eggs.

---

<div class="post-metadata">

**Author:** ![anon2544177](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon2544177](https://forums.unrealengine.com/u/anon2544177)\
**Post date:** [June 6, 2017, 1:12pm UTC](https://forums.unrealengine.com/t/how-does-work-an-auto-pickup/93628/8 "2017-06-06T13:12:43Z")

</div>

It works, thanky you for the help:cool:

---

<div class="post-metadata">

**Author:** ![anon2544177](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon2544177](https://forums.unrealengine.com/u/anon2544177)\
**Post date:** [June 20, 2017, 1:49pm UTC](https://forums.unrealengine.com/t/how-does-work-an-auto-pickup/93628/9 "2017-06-20T13:49:43Z")

</div>

Hello again,  
how can I pull dino inventory to my storage box?  
Ex.: pull snail paste from Achatina to my storage box.

---

<div class="post-metadata">

**Author:** ![Orionsun](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Orionsun](https://forums.unrealengine.com/u/Orionsun)\
**Post date:** [June 20, 2017, 7:08pm UTC](https://forums.unrealengine.com/t/how-does-work-an-auto-pickup/93628/10 "2017-06-20T19:08:18Z")

</div>

Few tips:

1.) Use “Is Preview Structure” to check if a structure is placed instead of the location check.  
2.) There is a variable called “Container Activated” which will serve the same purpose as your custom IsActive variable.  
3.) Set the class filter to the class you want(ie Dropped\_Item) as it will save iterations. It’s also better to use an Octree as it will be more performant than an overlap(it won’t be a perfect sphere so if thats important to you then check the distance which will exclude items outside the desired radius)  
4.) You can simply check “Is Egg” instead of searching the class string for PrimalItemConsumable\_Egg.  
5.) You can check if the “Egg Dino Class to Spawn” is null or not instead of searching the class string for Ferti.

I would also use a timer instead of a retriggerable delay since it leads to more readable code. If your goal is not allow your structure to go into stasis then simply check “Prevent Actor Stasis”.

---

<div class="post-metadata">

**Author:** ![anon2544177](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon2544177](https://forums.unrealengine.com/u/anon2544177)\
**Post date:** [June 21, 2017, 5:40am UTC](https://forums.unrealengine.com/t/how-does-work-an-auto-pickup/93628/11 "2017-06-21T05:40:05Z")

</div>

I do not know if I understand correctly.  
Is this a way to pull dino inventory to a storage box?

---

<div class="post-metadata">

**Author:** ![P0k3r](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@P0k3r](https://forums.unrealengine.com/u/P0k3r)\
**Post date:** [June 21, 2017, 2:30pm UTC](https://forums.unrealengine.com/t/how-does-work-an-auto-pickup/93628/12 "2017-06-21T14:30:59Z")

</div>

> [@HolgiStar;726463](#):
>
> I do not know if I understand correctly.  
> Is this a way to pull dino inventory to a storage box?

No, he is just giving some pointers to optimize your original setup.  
Pulling from a dino inventory would be pretty much the same but you’d want to get the snails inventory from the overlap and check that for items.  
IE something like this: Overlap\>ForEach\>Snail\>SnailInventory\>BPGetItemofTemplate/Or string search it

---

<div class="post-metadata">

**Author:** ![anon2544177](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon2544177](https://forums.unrealengine.com/u/anon2544177)\
**Post date:** [June 21, 2017, 7:28pm UTC](https://forums.unrealengine.com/t/how-does-work-an-auto-pickup/93628/13 "2017-06-21T19:28:51Z")

</div>

ah okay thany you…

---

<div class="post-metadata">

**Author:** ![Huston850](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Huston850](https://forums.unrealengine.com/u/Huston850)\
**Post date:** [June 21, 2017, 10:04pm UTC](https://forums.unrealengine.com/t/how-does-work-an-auto-pickup/93628/14 "2017-06-21T22:04:50Z")

</div>

> [@HolgiStar;726791](#):
>
> ah okay thany you…

You should be able to use this logic to grab nearby tames and check their inventory, and then move that inventory to the storage box. You’d just have to change/add some things.

---

<div class="post-metadata">

**Author:** ![anon2544177](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon2544177](https://forums.unrealengine.com/u/anon2544177)\
**Post date:** [June 22, 2017, 6:45am UTC](https://forums.unrealengine.com/t/how-does-work-an-auto-pickup/93628/15 "2017-06-22T06:45:42Z")

</div>

It’s totally confused for me, can someone show an BP for a beginner so I can better understand this?  
Sorry for my english…

---

<div class="post-metadata">

**Author:** ![SkyeEden](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/skyeeden/32/1116094_2.png) [@SkyeEden](https://forums.unrealengine.com/u/SkyeEden)\
**Post date:** [March 9, 2022, 9:15pm UTC](https://forums.unrealengine.com/t/how-does-work-an-auto-pickup/93628/16 "2022-03-09T21:15:50Z")

</div>


