Multiplayer Faction System

You need a reference to the Players character. Then RPC the server with a pointer to that character, then have the server RPC the owning client from its character.

You → Server → Them

  • Your Pawn to Your Server Pawn (RPC Run on Server)
  • Your Server Pawn to their Server Pawn (Event to Event, Ref to other Pawn as Target)
  • Their Server Pawn to their local Pawn. (RPC Run on Owning Client)

Same flow if using Controller.