# Replicated variable passing

**URL:** <https://forums.unrealengine.com/t/replicated-variable-passing/310569>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [March 11, 2015, 10:56pm UTC](https://forums.unrealengine.com/t/replicated-variable-passing/310569 "2015-03-11T22:56:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MidasPL\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MidasPL\_1](https://forums.unrealengine.com/u/MidasPL_1)\
**Post date:** [March 11, 2015, 10:56pm UTC](https://forums.unrealengine.com/t/replicated-variable-passing/310569/1 "2015-03-11T22:56:42Z")

</div>

Hi.  
I’ve been trying to do some nertworking stuff in blueprints and I have encountered a pretty hard problem for me. I’ve been trying to replicate some standard values (HP, Ammo etc.). It seems to work, but only partially. I tried standard replication with picking out certain values in HUD blueprint, from character variable; or RepNotify with calling certain functions from my HUD blueprint. Both of them failed. As you can see on attached image, replication works, but only if I try to get those values in same blueprint file (overhead values). If I try to reach them from my HUD class (tried both - UMG and classical HUD), it shows values of ‘0’. I haven’t tried custom events yet in this case, but I’m not sure if I want to. I’ve heard that that way I can eat a lot of bandwidth in longer.  
Can you help me find any solution in this case? Thank you in advance.

 ![33737-replication.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/e/d/1ed4d96d578ebb1e1dd7cbcc20192efa444a7b2e.jpeg)
