# Set Heightfog values In Multiplayer from Client only for client

**URL:** <https://forums.unrealengine.com/t/set-heightfog-values-in-multiplayer-from-client-only-for-client/1133661>\
**Category:** Programming & Scripting\
**Tags:** Exponential-Height-Fog, dedicated-server, Replication, unreal-engine, Multiplayer, question, Blueprint\
**Created:** [April 19, 2023, 5:29pm UTC](https://forums.unrealengine.com/t/set-heightfog-values-in-multiplayer-from-client-only-for-client/1133661 "2023-04-19T17:29:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mathrim](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mathrim](https://forums.unrealengine.com/u/Mathrim)\
**Post date:** [April 19, 2023, 5:29pm UTC](https://forums.unrealengine.com/t/set-heightfog-values-in-multiplayer-from-client-only-for-client/1133661/1 "2023-04-19T17:29:19Z")

</div>

On my Map I have a replicated Actor Called “Fogger” its a empty script BP with a Exponential Height Fog Component.  
In My PlayerProxy I Want to set the values of the HeightFog for each player individual  
That means on server is no fog and each palyer has his own fog

 ![Screenshot 2023-04-19 192547](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/7/c/47cbdf113affffca77d2bf39817f9fac6535cdd5.png)  
Thats the Code on Playerproxy and the Lightsetting and MaterialParameter works fine but the Fog Values are not set on server, on Singleplayer mode it works also fine

Any idea?

---

<div class="post-metadata">

**Author:** ![Mathrim](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mathrim](https://forums.unrealengine.com/u/Mathrim)\
**Post date:** [April 25, 2023, 2:04pm UTC](https://forums.unrealengine.com/t/set-heightfog-values-in-multiplayer-from-client-only-for-client/1133661/2 "2023-04-25T14:04:25Z")

</div>

The solution was simple. Call the event From a replicated server BP that includes all ref like lights or fog and seth this ref in the call

 ![Screenshot 2023-04-25 160335](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/5/e/75ef98c22541e42727ee849397a0d1ee5b15307e.png)
