# Save Game Finished
Grammar — Save game finished
Flags —Native
|Event
This event fires just after a game is saved.
Returns — void
native void TriggerAddEventSaveGameDone(trigger t);
# Related
Category: Game / Game Settings
- Map Initialization —
void
— TriggerAddEventMapInit - Save Game Started —
void
— TriggerAddEventSaveGame - Save Game Finished —
void
— TriggerAddEventSaveGameDone - Load Game Finished —
void
— TriggerAddEventLoadGameDone - Set Game Speed —
void
— GameSetSpeedValue - Game Set Quit On Quit Button —
void
— GameSetQuitOnQuitButton - Set Global Time Scale —
void
— GameSetGlobalTimeScale - Pause Mission Time —
void
— GameSetMissionTimePaused - Mission Time Paused —
bool
— GameIsMissionTimePaused - Mission Time —
fixed
— GameGetMissionTime - Set Minimum Game Speed —
void
— GameSetSpeedValueMinimum - Lock Game Speed —
void
— GameSetSpeedLocked - Game Speed Factor —
fixed
— GameGetSpeed - Game Speed —
int
<preset::GameSpeed> — GameGetSpeedValue - Global Time Scale —
fixed
— GameGetGlobalTimeScale - Game Speed Minimum —
int
<preset::GameSpeed> — GameGetSpeedValueMinimum - Game Speed Is Locked —
bool
— GameIsSpeedLocked - Attribute Game Value —
string
<attributevalue> — GameAttributeGameValue - Attribute Player Value —
string
<attributevalue> — GameAttributePlayerValue - Players On Team —
playergroup
— GameAttributePlayersForTeam - Turn Fixed Random Seed On/Off —
void
— GameSetSeedLocked - Random Seed Is Locked —
bool
— GameIsSeedLocked - Set Random Seed —
void
— GameSetSeed - Create Saved Game —
void
— GameSaveCreate - Set Game Pausing Allowed —
void
— GameSetPauseable - Set Tradeshow Game Time Remaining —
void
— GameSetAbsoluteTimeRemaining - Pause Tradeshow Game Time Remaining —
void
— GameSetAbsoluteTimeRemainingPaused - Tradeshow Game Time Remaining —
fixed
— GameGetAbsoluteTimeRemaining - Tradeshow Game Time Remaining Is Paused —
bool
— GameGetAbsoluteTimeRemainingPaused - Map Name —
text
— GameMapName - Map Path —
string
— GameMapPath - Map Description —
text
— GameMapDescription - Map Is Blizzard —
bool
— GameMapIsBlizzard - Map Texture Set —
string
<gamelink::Terrain> — GameTerrainSet - Game Is Test —
bool
— GameIsTestMap - Game Is Examinable —
bool
— GameIsExaminable - Game Get Test Config Type —
int
— GameTestConfigType - Game Is Online —
bool
— GameIsOnline - Game Is Debug Option Set —
bool
— GameIsDebugOptionSet - Game Is Matchmade —
bool
— GameIsMatchmade - Game Is Competitive —
bool
— GameIsCompetitive - Game Is Practice —
bool
— GameIsPractice - Game Is Cooperative —
bool
— GameIsCooperative - Game Allows Duplicate Heroes —
bool
— GameAreHeroDuplicatesAllowed
# Examples
campaigns/liberty.sc2campaign — base.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.sc2map — MapScript.galaxy:17563
void gt_StorySaveDone_Init () {
gt_StorySaveDone = TriggerCreate("gt_StorySaveDone_Func");
TriggerAddEventSaveGameDone(gt_StorySaveDone);
}
campaigns/swarmstoryutil.sc2mod — base.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.sc2campaign — base.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.sc2mod — base.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);
}