# Getting variable data from an ini file for a primalitemresource

**URL:** <https://forums.unrealengine.com/t/getting-variable-data-from-an-ini-file-for-a-primalitemresource/43707>\
**Category:** ARK: Survival Evolved\
**Tags:** unreal-engine, Ark:-Survival-Evolved, Modding\
**Created:** [October 4, 2015, 3:26pm UTC](https://forums.unrealengine.com/t/getting-variable-data-from-an-ini-file-for-a-primalitemresource/43707 "2015-10-04T15:26:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_a85c5d9f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a85c5d9f](https://forums.unrealengine.com/u/anonymous_user_a85c5d9f)\
**Post date:** [October 4, 2015, 3:26pm UTC](https://forums.unrealengine.com/t/getting-variable-data-from-an-ini-file-for-a-primalitemresource/43707/1 "2015-10-04T15:26:10Z")

</div>

Has anyone found a work around for getting variable data from an ini file from a primalresource blueprint since the switch has authority is not in that blueprint and how to create an event for it. I tried tying it into the gamemode construction event and calling a separate function inside of the primalresource child blueprint that has a integer variable attached that leads to a set max item quantity but alas no avail. The goal is to be able to have the server admin set properties of each item so they can customize the mod to their liking. Any help would be appreciated. Thank you.

I looked at [HOWTO: Get Variable Data From an Initiation File - ARK: Survival Evolved - Epic Developer Community Forums](https://forums.unrealengine.com/showthread.php?82834-HOWTO-Get-Variable-Data-From-an-Initiation-File) but there is no event to call at start or switch has authority

---

<div class="post-metadata">

**Author:** ![DefaultCoder](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DefaultCoder](https://forums.unrealengine.com/u/DefaultCoder)\
**Post date:** [May 4, 2017, 7:06pm UTC](https://forums.unrealengine.com/t/getting-variable-data-from-an-ini-file-for-a-primalitemresource/43707/2 "2017-05-04T19:06:25Z")

</div>

This is something that maybe needs a tutorial on… If I knew how I would do the tutorial, but unfortunately I do not. Maybe some advanced modder can shed some light on this. That would be great for other modders to learn from.

---

<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:** [May 4, 2017, 8:48pm UTC](https://forums.unrealengine.com/t/getting-variable-data-from-an-ini-file-for-a-primalitemresource/43707/3 "2017-05-04T20:48:04Z")

</div>

Some things on primal items are just not editable at runtime therefore trying to set it via .ini will never work. “Initial Value Constant” is one that i know for sure is not editable through .ini.  
That being said, there are several implementable native functions on primal items that can be used to retrieve .ini data. I know for a fact that “Allow Crafting” and “Can Use” will read from .ini.

 ![1b74f514528923b57f71d03feec19fb5.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/7/3/2733e6094aad6a93213353b15638ee92a397a9b8.png)

---

<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:31pm UTC](https://forums.unrealengine.com/t/getting-variable-data-from-an-ini-file-for-a-primalitemresource/43707/4 "2022-03-09T21:31:16Z")

</div>


