# How to send variable int count from one blueprint to another?

**URL:** <https://forums.unrealengine.com/t/how-to-send-variable-int-count-from-one-blueprint-to-another/349683>\
**Category:** UI\
**Tags:** interface, unreal-engine, global, question\
**Created:** [March 6, 2016, 5:32am UTC](https://forums.unrealengine.com/t/how-to-send-variable-int-count-from-one-blueprint-to-another/349683 "2016-03-06T05:32:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shirk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shirk](https://forums.unrealengine.com/u/Shirk)\
**Post date:** [March 6, 2016, 5:32am UTC](https://forums.unrealengine.com/t/how-to-send-variable-int-count-from-one-blueprint-to-another/349683/1 "2016-03-06T05:32:57Z")

</div>

I have an ammo blueprint that holds a certain amount of ammo of a certain type (as an enum) and I would like for it when I call a function in the BP\_Ammo to be able to add that ammo to a global ammo count of that ammo type. Im not quite sure how to do this. I tried storing the values in my GameInstance bp but that didnt work, and Ive tried using a interface but Im not sure how that is supposed to work. Any help?

---

<div class="post-metadata">

**Author:** ![thevfxguy13](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thevfxguy13](https://forums.unrealengine.com/u/thevfxguy13)\
**Post date:** [March 6, 2016, 6:30am UTC](https://forums.unrealengine.com/t/how-to-send-variable-int-count-from-one-blueprint-to-another/349683/2 "2016-03-06T06:30:57Z")

</div>

Is it a multiplayer game? What blueprint do you need to access that data?

---

<div class="post-metadata">

**Author:** ![Shirk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shirk](https://forums.unrealengine.com/u/Shirk)\
**Post date:** [March 6, 2016, 8:10am UTC](https://forums.unrealengine.com/t/how-to-send-variable-int-count-from-one-blueprint-to-another/349683/3 "2016-03-06T08:10:09Z")

</div>

It’s single player, and I have an ammo blueprint that when is triggered, adds it’s ammo count to the total ammo count of that ammo type to the players weapon inventory. I don’t want to have to create the ammo variables in the player blueprint though, and I can’t directly access my weapon base blueprint that contains the ammo type it it’s outside of the player blueprint on its own.
