Replicate a variable ONLY on Server and Specific Client

When a player overlaps an actor, I want to save that actor as a reference variable for the player that overlapped it.
Now, I want the server and the overlapping player to have access to that reference. The other clients don’t need to know that one client is overlapping a weapon for example. How do I achieve this? Thanks!

Need to use ‘Owner Only’ in the setting Replication Condition

341943-screenshot.png

1 Like