# Refresh ammo in clip of a weapon

**URL:** <https://forums.unrealengine.com/t/refresh-ammo-in-clip-of-a-weapon/91385>\
**Category:** ARK: Survival Evolved\
**Tags:** unreal-engine, Ark:-Survival-Evolved, Modding\
**Created:** [May 4, 2017, 8:48pm UTC](https://forums.unrealengine.com/t/refresh-ammo-in-clip-of-a-weapon/91385 "2017-05-04T20:48:37Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![AgeOfDarkness](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AgeOfDarkness](https://forums.unrealengine.com/u/AgeOfDarkness)\
**Post date:** [May 4, 2017, 8:48pm UTC](https://forums.unrealengine.com/t/refresh-ammo-in-clip-of-a-weapon/91385/1 "2017-05-04T20:48:37Z")

</div>

Hi Guys, i searching for a way to refresh the ammo in a weapon clip.  
I have make a weapon with 2 ammo types, it works, but one ammo it a clip of 1 and the other is a clip of 60. If i chance the ammo type about the graph the clip will not refresh. Is there a way to refresh the ammo in the clip of the weapon with the event graph?

Thanks for help.

---

<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, 11:39pm UTC](https://forums.unrealengine.com/t/refresh-ammo-in-clip-of-a-weapon/91385/2 "2017-05-04T23:39:47Z")

</div>

I would imagine that may work -  
 ![21e7afdc3511dd29fcbfade89113344d.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/0/e/e0ef435094ce2eac768d3f15170c88029ce721be.png)

---

<div class="post-metadata">

**Author:** ![AgeOfDarkness](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AgeOfDarkness](https://forums.unrealengine.com/u/AgeOfDarkness)\
**Post date:** [May 5, 2017, 5:09am UTC](https://forums.unrealengine.com/t/refresh-ammo-in-clip-of-a-weapon/91385/3 "2017-05-05T05:09:27Z")

</div>

OK thanks for the answer, but i have here the next problem now i use UpdateNetWeaponClip it says: Error This blueprint (self) is not a PrimalInventoryComponent, therefore ’ Target ’ must have a connection.

What must the target for it? ShooterCharacter and shootergamemode is not working.

Here my graph:  
 ![9724567af149b08c4fb3d631d87185abe8ec42a9.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)  
 ![c1d12d56db0b6cdc4ffce119a9cd849d6c6233d9.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

---

<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 5, 2017, 5:58am UTC](https://forums.unrealengine.com/t/refresh-ammo-in-clip-of-a-weapon/91385/4 "2017-05-05T05:58:38Z")

</div>

the inventory of the character wielding the weapon is what it wants.

---

<div class="post-metadata">

**Author:** ![AgeOfDarkness](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AgeOfDarkness](https://forums.unrealengine.com/u/AgeOfDarkness)\
**Post date:** [May 5, 2017, 2:25pm UTC](https://forums.unrealengine.com/t/refresh-ammo-in-clip-of-a-weapon/91385/5 "2017-05-05T14:25:48Z")

</div>

So i have make it so and now the dev kit crashes.

 ![graph3.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/b/c/bc2816a53fac2dd0109034ec73d6db35cdc0c0f1.jpeg)

I don’t know what must set as the target.

---

<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 5, 2017, 2:54pm UTC](https://forums.unrealengine.com/t/refresh-ammo-in-clip-of-a-weapon/91385/6 "2017-05-05T14:54:42Z")

</div>

I really don’t know, never used that node but my guess would be that “An Item” would be the ammo

---

<div class="post-metadata">

**Author:** ![AgeOfDarkness](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AgeOfDarkness](https://forums.unrealengine.com/u/AgeOfDarkness)\
**Post date:** [May 5, 2017, 3:01pm UTC](https://forums.unrealengine.com/t/refresh-ammo-in-clip-of-a-weapon/91385/7 "2017-05-05T15:01:06Z")

</div>

on an item i can’t placed any item, i think i dont ned that. the problem ist the target. But thanks for your help.

---

<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:34pm UTC](https://forums.unrealengine.com/t/refresh-ammo-in-clip-of-a-weapon/91385/8 "2022-03-09T21:34:37Z")

</div>


