# Set Campaign Progress Tutorial Finished
Grammar — Set campaign progress tutorial finished to finished for players
Flags —Native
|Action
|Restricted
Flags the tutorial as finished or unfinished for the specified campaign for the specified player.
# Arguments
playergroup
— Playersstring
— Campaignbool
— Finished
Returns — void
native void CampaignProgressSetTutorialFinished(
playergroup players,
string campaignId,
bool inFinished,
);
# Related
Category: Story / Campaign Progress
- Set Campaign Progress Text —
void
— CampaignProgressSetText - Set Campaign Progress Image —
void
— CampaignProgressSetImageFilePath - Set Campaign Progress Tutorial Finished —
void
— CampaignProgressSetTutorialFinished - Set Campaign Progress Campaign Finished —
void
— CampaignProgressSetCampaignFinished - Delete Campaign Save —
void
— CampaignProgressDeleteCampaignSave - Enable Campaign Saves —
void
— CampaignProgressEnableCampaignSaves - Enable Campaign Completed Saves —
void
— CampaignProgressEnableCampaignCompletedSaves
# Examples
campaigns/liberty.sc2campaign — base.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.sc2map — MapScript.galaxy:1590
libLbty_gf_SetAllSoundChannelVolumesStandardTiming(2, PlayerGroupAll());
TriggerQueueExit();
CampaignProgressSetTutorialFinished(PlayerGroupAll(), "WingsOfLiberty", true);
return true;
}