# Save Game Finished

Grammar — Save game finished
FlagsNative | Event

This event fires just after a game is saved.

Returns — void

native void TriggerAddEventSaveGameDone(trigger t);

Category: Game / Game Settings

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:17563

void gt_StorySaveDone_Init () {
    gt_StorySaveDone = TriggerCreate("gt_StorySaveDone_Func");
    TriggerAddEventSaveGameDone(gt_StorySaveDone);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:17563

void gt_StorySaveDone_Init () {
    gt_StorySaveDone = TriggerCreate("gt_StorySaveDone_Func");
    TriggerAddEventSaveGameDone(gt_StorySaveDone);
}

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:5924

void lib281DEC45_gt_ZSS_SaveGameEnd_Init () {
    lib281DEC45_gt_ZSS_SaveGameEnd = TriggerCreate("lib281DEC45_gt_ZSS_SaveGameEnd_Func");
    TriggerAddEventSaveGameDone(lib281DEC45_gt_ZSS_SaveGameEnd);
}

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:5057

void libVCST_gt_PS_SaveGameEnd_Init () {
    libVCST_gt_PS_SaveGameEnd = TriggerCreate("libVCST_gt_PS_SaveGameEnd_Func");
    TriggerAddEventSaveGameDone(libVCST_gt_PS_SaveGameEnd);
}

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCST.galaxy:4418

void libNCST_gt_NS_SaveGameEnd_Init () {
    libNCST_gt_NS_SaveGameEnd = TriggerCreate("libNCST_gt_NS_SaveGameEnd_Func");
    TriggerAddEventSaveGameDone(libNCST_gt_NS_SaveGameEnd);
}