# GameSetNextCampaignIndex

FlagsNative | Action

Sets the campaign Index for the specified player for the next map. Only supported in single player offline games.

# Arguments

  • playergroup — Players
  • int — CampaignIndex

Returns — void

native void GameSetNextCampaignIndex(
	playergroup inPlayerGroup,
	int inCampaignIndex,
);

Category: Game / Transitions

# Examples

# mods/missionpacks/novacampaign.sc2mod

LibNovC.galaxy

// L2402
GameSetNextCampaignIndex(PlayerGroupAll(), 6)
// L2406
GameSetNextCampaignIndex(PlayerGroupAll(), 7)
// L2413
GameSetNextCampaignIndex(PlayerGroupAll(), 5)