Tile - YGameSession - Restart The Game – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (YlandsClassyBot moved page Ylands Tile - Restart game to Ylands:Tile - YGameSession - Restart The Game: New Structure)
No edit summary
Line 1: Line 1:
[[Image:Ylands_Tile_-_Restart_game.png]]
<!---
*This instruction will '''restart''' currently running '''game'''.
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
*In multiplayer, it will '''disconnect''' all '''players''' and restart the server.
-->
== Restart The Game(Rejoin all players) ==
 
[[File:YlandsTile-230.png]]
 
<pre>static restartGame(rejoinPlayers: boolean): void;</pre>
=== Parameters ===
 
==== rejoinPlayers ====
 
=== Description ===
 
This instruction will '''restart''' currently running '''game'''. In multiplayer, it will '''disconnect''' all '''players''' and restart the server.
 
== Restart The Game(Players to rejoin) ==
 
[[File:YlandsTile-589.png]]
 
<pre>static restartGame(playersToRejoin: YCharacter[]): void;</pre>
=== Parameters ===
 
==== playersToRejoin ====
 
=== Description ===
 
This instruction will '''restart''' currently running '''game'''. In multiplayer, it will '''rejoin''' selected '''players'''.




Line 9: Line 34:


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 0.10]]

Revision as of 09:52, 8 July 2021

Restart The Game(Rejoin all players)

YlandsTile-230.png

static restartGame(rejoinPlayers: boolean): void;

Parameters

rejoinPlayers

Description

This instruction will restart currently running game. In multiplayer, it will disconnect all players and restart the server.

Restart The Game(Players to rejoin)

YlandsTile-589.png

static restartGame(playersToRejoin: YCharacter[]): void;

Parameters

playersToRejoin

Description

This instruction will restart currently running game. In multiplayer, it will rejoin selected players.