# Save Game Started

Grammar — Save game started
FlagsNative | Event

This event fires just before a game is saved.

Returns — void

native void TriggerAddEventSaveGame(trigger t);

Category: Game / Game Settings

# Examples

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

void gt_StorySave_Init () {
    gt_StorySave = TriggerCreate("gt_StorySave_Func");
    TriggerAddEventSaveGame(gt_StorySave);
}

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

void gt_StorySave_Init () {
    gt_StorySave = TriggerCreate("gt_StorySave_Func");
    TriggerAddEventSaveGame(gt_StorySave);
}

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

void lib281DEC45_gt_ZSS_SaveGameStart_Init () {
    lib281DEC45_gt_ZSS_SaveGameStart = TriggerCreate("lib281DEC45_gt_ZSS_SaveGameStart_Func");
    TriggerAddEventSaveGame(lib281DEC45_gt_ZSS_SaveGameStart);
}

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

void libVCST_gt_PS_SaveGameStart_Init () {
    libVCST_gt_PS_SaveGameStart = TriggerCreate("libVCST_gt_PS_SaveGameStart_Func");
    TriggerAddEventSaveGame(libVCST_gt_PS_SaveGameStart);
}

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

void libNCST_gt_NS_SaveGameStart_Init () {
    libNCST_gt_NS_SaveGameStart = TriggerCreate("libNCST_gt_NS_SaveGameStart_Func");
    TriggerAddEventSaveGame(libNCST_gt_NS_SaveGameStart);
}