No announcement yet.

How to acces client controllers from the server?

  • Filter
  • Time
  • Show
Clear All
new posts

    How to acces client controllers from the server?


    I'm wondering how I can change variables inside a controller of a connected client from say the gamemode which is on the server.

    Basically, what i would like to do is change a string variable of the player controller. When i press a button i want the server to change the string variable of each connected client to change in the string that the server decides.

    Maybe it's a bit strange to understand, but I don't really know how to explain it otherwise.

    Each connected client controller has a string variable. When i press a button on the server, a string variable in gamemode will change to a string that i entered in a text box. Then i want to send this string to all the connected controllers so that their local string variable becomes the same as the server's string variable.

    Maybe that makes more sense? xD