# How to get the reference to the main object of a Item (WeaponStonePick)?

**URL:** <https://forums.unrealengine.com/t/how-to-get-the-reference-to-the-main-object-of-a-item-weaponstonepick/69054>\
**Category:** ARK: Survival Evolved\
**Tags:** unreal-engine, Ark:-Survival-Evolved, Modding\
**Created:** [July 15, 2016, 8:33am UTC](https://forums.unrealengine.com/t/how-to-get-the-reference-to-the-main-object-of-a-item-weaponstonepick/69054 "2016-07-15T08:33:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SamKO\_cpp](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SamKO\_cpp](https://forums.unrealengine.com/u/SamKO_cpp)\
**Post date:** [July 15, 2016, 8:33am UTC](https://forums.unrealengine.com/t/how-to-get-the-reference-to-the-main-object-of-a-item-weaponstonepick/69054/1 "2016-07-15T08:33:41Z")

</div>

Hi guys/girls, I just recently started with Ark Dev Kit, and made a good progress with my Progressive Weapons and Tools Mod (STILL IN WORK).

I’m now stuck with being unable to do the following (EXAMPLE Custom Stone Pick):

- I have made new TOOLS, WEAPONS, ARMOR and would like to store a single variable (string/float) on this items (Progress for the CUstom Stone Pick)
- Graph logic and the custom variable are on the WeapCustomStonePick Blueprint where I use Event Begin Play and Event End Play to execute my logic
- ISSUE is that this object gets destroyed and instantiated by unequipped/equipped (like pressing the shortcut number to equip the pick and pressing again to unequipped) and my variable gets reset to default (0)

-QUESTIONS:

- Do I put the GRAPH LOGIC on a different item like the PrimalItem\_WeaponCustomStonePick (I tried but never managed to catch any events from it so I don’t know how to execute the logic)
- Can i get the reference to the main object of the Custom Stone Pick from my inventory (which has the data on it , like current durability, quality,name, paint…) in the WeapCustomStonePick graph (Get Owner returns me a reference to the Player itself).
- Did anyone played with something similar like firing event on weapons(tools) when they hit someone, or when the durability changes, if so, any advice is relay welcome.

Thanks Dev Survivals 😉

---

<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:24pm UTC](https://forums.unrealengine.com/t/how-to-get-the-reference-to-the-main-object-of-a-item-weaponstonepick/69054/2 "2022-03-09T21:24:24Z")

</div>


