# Harvestable resources in radius

**URL:** <https://forums.unrealengine.com/t/harvestable-resources-in-radius/86790>\
**Category:** ARK: Survival Evolved\
**Tags:** unreal-engine\
**Created:** [March 4, 2017, 12:01pm UTC](https://forums.unrealengine.com/t/harvestable-resources-in-radius/86790 "2017-03-04T12:01:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![wuzzy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@wuzzy](https://forums.unrealengine.com/u/wuzzy)\
**Post date:** [March 4, 2017, 12:01pm UTC](https://forums.unrealengine.com/t/harvestable-resources-in-radius/86790/1 "2017-03-04T12:01:52Z")

</div>

Is it possible to find all of the harvestable resources in a radius around the player.

I.e can I find all the sources of rock, metal or wood in a radius. Id also like to be able to determine the quality (amount of metal…) in the resource.

I think I need to find HarvestableComponents but can’t quite see what actors they are attached to, or how to trace for them?

Thanks in advance

Wuzzy

---

<div class="post-metadata">

**Author:** ![wuzzy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@wuzzy](https://forums.unrealengine.com/u/wuzzy)\
**Post date:** [March 4, 2017, 2:45pm UTC](https://forums.unrealengine.com/t/harvestable-resources-in-radius/86790/2 "2017-03-04T14:45:31Z")

</div>

They appear to be instanced foliage actors, I can sphere overlap them, but can’t see how to get a reference to the associated harvest component?

A getComponentByClass with MetalHarvestComponent (the one used in the foliage placement) on the instance doesn’t seem to return anything?

---

<div class="post-metadata">

**Author:** ![AP\_Studios](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AP\_Studios](https://forums.unrealengine.com/u/AP_Studios)\
**Post date:** [March 6, 2017, 1:00pm UTC](https://forums.unrealengine.com/t/harvestable-resources-in-radius/86790/3 "2017-03-06T13:00:41Z")

</div>

> [@wuzzy;675878](#):
>
> They appear to be instanced foliage actors, I can sphere overlap them, but can’t see how to get a reference to the associated harvest component?
> 
> A getComponentByClass with MetalHarvestComponent (the one used in the foliage placement) on the instance doesn’t seem to return anything?

what part of the the work flow your getting stuck at?  
They have a BP associated to them for harvest, its been a year or more for me, so, i dont remember what they are named exactly.

---

<div class="post-metadata">

**Author:** ![wuzzy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@wuzzy](https://forums.unrealengine.com/u/wuzzy)\
**Post date:** [March 20, 2017, 12:28am UTC](https://forums.unrealengine.com/t/harvestable-resources-in-radius/86790/4 "2017-03-20T00:28:02Z")

</div>

I am trying to find a component which carries something which would identify what type of resource they are, ie tie them back to the information about how much of each resource type they would harvest.

I can’t find a link to the XXXHarvestComponent from the object the overlap hits.

---

<div class="post-metadata">

**Author:** ![AP\_Studios](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AP\_Studios](https://forums.unrealengine.com/u/AP_Studios)\
**Post date:** [March 22, 2017, 12:26pm UTC](https://forums.unrealengine.com/t/harvestable-resources-in-radius/86790/5 "2017-03-22T12:26:37Z")

</div>

> [@wuzzy;682998](#):
>
> I am trying to find a component which carries something which would identify what type of resource they are, ie tie them back to the information about how much of each resource type they would harvest.
> 
> I can’t find a link to the XXXHarvestComponent from the object the overlap hits.

The harvest is a BP, and, inside that is how much. I believe the harvest about is a range since its seems a bit random on how much X is harvested per hit.  
If you look at the setup, the foliage has the BP tied to it (wood, more\_wood, metal, etc)  
Thats where you would want to look.
