Tile - YGameSession - Reserve Session – Ylands

From Bohemia Interactive Community
Revision as of 15:24, 13 January 2020 by Rudy.cz (talk | contribs)
Jump to navigation Jump to search

File:Tile - YGameSession - Reserve Session.png

  • Instructions allowing to transfer players between Game set games.

Reserve session

  • If a free game instance is available, this instruction will try to reserve a game session for selected players.
    • Game instance = game running on official dedicated server.
    • Target game instance is chosen automatically.
    • If there wont be any instance running, new instance will be spawned automatically.
  • In order to reserve session, following input parameters has to be entered
  • If the reservation will be successful, the instruction will return a Session object.
    • Session object - contains target server and list of players to be dispatched.
  • If the reservation will fail, the instruction will return a Fail reason.

Dispatch session

  • This instruction will dispatch selected players using the Session object.

Fail reason

Example



Template:Ylands scripting navbox