# Set Campaign Progress Tutorial Finished

Grammar — Set campaign progress tutorial finished to finished for players
FlagsNative | Action | Restricted

Flags the tutorial as finished or unfinished for the specified campaign for the specified player.

# Arguments

  • playergroup — Players
  • string — Campaign
  • bool — Finished

Returns — void

native void CampaignProgressSetTutorialFinished(
	playergroup players,
	string campaignId,
	bool inFinished,
);

Category: Story / Campaign Progress

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:1590

    libLbty_gf_SetAllSoundChannelVolumesStandardTiming(2, PlayerGroupAll());
    TriggerQueueExit();
    CampaignProgressSetTutorialFinished(PlayerGroupAll(), "WingsOfLiberty", true);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:1590

    libLbty_gf_SetAllSoundChannelVolumesStandardTiming(2, PlayerGroupAll());
    TriggerQueueExit();
    CampaignProgressSetTutorialFinished(PlayerGroupAll(), "WingsOfLiberty", true);
    return true;
}