# When a non-player creature has custom resource in inventory, prevent all movement?

**URL:** <https://forums.unrealengine.com/t/when-a-non-player-creature-has-custom-resource-in-inventory-prevent-all-movement/105732>\
**Category:** ARK: Survival Evolved\
**Tags:** unreal-engine, Ark:-Survival-Evolved, Modding\
**Created:** [January 29, 2018, 6:05pm UTC](https://forums.unrealengine.com/t/when-a-non-player-creature-has-custom-resource-in-inventory-prevent-all-movement/105732 "2018-01-29T18:05:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Omen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Omen](https://forums.unrealengine.com/u/Omen)\
**Post date:** [January 29, 2018, 6:05pm UTC](https://forums.unrealengine.com/t/when-a-non-player-creature-has-custom-resource-in-inventory-prevent-all-movement/105732/1 "2018-01-29T18:05:24Z")

</div>

I have begun working on a very basic mod to learn how things work in the dev kit. I created a new resource and have assigned a crafting cost, custom weight, and a new icon. It works but now I am wanting to have this resource affect the creature that has it in its inventory.

I would like to make this resource halt all movement for the creature that has it in their inventory. Setting a high weight of the resource is not viable because the creature must not become encumbered by this resource as more resources will be added and removed from their inventory.

I am assuming this would have to be done with graphs but I have no experience with graphs. I have watched the “ADK New Structure and Beginners Setup” (custom vault tutorial video) and it touched on graphs but not really what I want to accomplish. Can someone help me out or point me to a tutorial that would explain how to do this?

---

<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:11pm UTC](https://forums.unrealengine.com/t/when-a-non-player-creature-has-custom-resource-in-inventory-prevent-all-movement/105732/2 "2022-03-09T21:11:03Z")

</div>


