Beginner Replication

OK, so if they do not open on the client side, but event is invoked, then it’s about what I have mentioned above - some of the branch statements does not pass. What I would do, is change things a bit.

  1. I would create event that only opens the door, without any logic check if it should open. This event would be Multicast (server and client)
  2. All these branch statements would only be invoked on server, as the server is the only one who should check these prerequisites.
  3. Once the server is sure door can be opened, it invokes event to open the door (the one that does not have any logic behind it), and that’s it. Since the event is multicast, it would open the door to everyone, and check is only done on the server side.
1 Like