# Online Map To Map Load

Grammar — Map to map load into author map slot mapSlot|slot. victoryPlayers|Players win. defeatPlayers|Players lose.
FlagsNative | Action

Executes an online map to map load. Ends the game for all observers and players that have not already won, tied, lost or left the game, then transitions them together into another map published by the same author. The destination map is chosen by a map slot. Map slots must be set using the managed published dialog. Ensure that the source and destination maps have the same set of user controlled players to prevent map transition failures. Default variants and game settings will be used to create the destination map. Only supported for online games.

# Arguments

  • int — Map Slot
  • playergroup — Victory Players
  • playergroup — Defeat Players

Returns — void

native void OnlineMapToMapLoad(
	int mapSlot,
	playergroup victoryPlayers,
	playergroup defeatPlayers,
);

Category: Game / Map To Map Loading

# Examples

— None found —