# Restart Game

Grammar — Restart game for playerGroup
FlagsNative | Action

Restarts the current level for all the players in the specified player group. Only supported in single player offline games.

# Arguments

  • playergroup — Player Group

Returns — void

native void RestartGame(playergroup inPlayerGroup);

Category: Game / Transitions

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L8330
RestartGame(PlayerGroupAll())
// L8330
RestartGame(PlayerGroupAll())