This node detects when a player joins or leaves the session in a Custom multiplayer game or in a game that makes use of Ghosts. It can also provide a player's name and index.
A typical use case in Custom Multiplayer games: Multiplayer Info executes the Multiplayer Player Spawner when a player joins the game. It also sends the Player Index to ensure everybody gets control of the correct player character.
Parameter | Explanation |
---|---|
Enabled | Enable or disable the node. Disabled nodes cannot be executed |
Notify | For which players the outputs get triggered: For everyone, For others or For me. |
On player joined | Sends a signal when a player joins the gameplay session, as well as the player's index (First player = 0, second player = 1 etc.) |
On player left | Sends a signal when a player leaves the gameplay session, as well as the player's index |
Player name | Sends a signal when a player joins the game, as well as the player’s name. To show a player name with the Text node, use the Select Text by Index option |
Team index | Sends a signal when a player joins the game, as well as outputs the Team index of the player All players in the same party have the same Team index. |
A how-to guide for building a simple multiplayer start scene: