Could I ask you a quick question?
I need to get each remote client to send the server a notification (first to say it has finished loading the map and is ready to play, and in future to send the server any player input commands). I know this sounds the simplest thing to do, but I just can’t seem to get it happening.
I’ve tried using a “Run on Server” event (function replication) in my player controller (called from elsewhere in the player controller), but this only triggers and runs if the player controller is on the host client (same machine as server), and does not trigger when running from a remote client.
Also, if I pass the player controller a reference to the GameMode, this reference is valid if received by the host client player controller, but becomes null if received by a remote client. So how can I get a remote client to call functions on the server GameMode?