Hi Rudy,
even better, i attached a sample project consisting of:
- A custom GameMode (to have a custom playercharacter and controller)
- the BP_Testcomponent with the 2 calls and a replicated var in there
- a BP_Controller which calls the Server function inside the component on Left mouse click
- a BP_Character which calls the Server function inside the component on Right mouse click
So if you open the project and click on play (at least 2 players) you should see with a left - or right - mouseclick the messages
Server: true
Client1: false
So the variable is not replicating (as it has the value “true” on the server and “false” on the client(s)).
Cheers,