Blueprint Components & Replication

Hi Rudy,

even better, i attached a sample project consisting of:

  1. A custom GameMode (to have a custom playercharacter and controller)
  2. the BP_Testcomponent with the 2 calls and a replicated var in there
  3. a BP_Controller which calls the Server function inside the component on Left mouse click
  4. 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,

link text