How to change position of all players.

Options
Hello! Couldnt find the answer how move players to different positions. So, the game was started before and at some point I need to move(change position) every player to positions in the List. Every player has to be moved to different places at moment in the same scene. I guess i must use RPC, but how do it exactly? May be someone knows how do it without RPC. Please, share your thoughts.

Comments

  • Hi @dragoff,

    using RPCs might be the best way in this case. You can use the MasterClient to call a RPC on each available character with his unique position.

    Another way is to use the RaiseEvent function. This one allows sending a message either to all players or just to a certain client. This way the MasterClient can tell the other clients their new position. You can read about both RPCs and the RaiseEvent function in the related documentation page.