# Game Credits Finished
Grammar — The End-Game Credits finish rolling for player player|Player.
Flags —Native
|Event
Event is triggered when the end game credits finish rolling for the specified player.
# Arguments
int
— Player
Returns — void
native void TriggerAddEventGameCreditsFinished(
trigger t,
int player,
);
# Related
Category: UI / Transitions
- Set Next Movie —
void
— MoviePlayAfterGame - Set Next Loading Screen —
void
— UISetNextLoadingScreen - Set Next Loading Screen Image Scale —
void
— UISetNextLoadingScreenImageScale - Set Next Loading Screen Text Position —
void
— UISetNextLoadingScreenTextPosition - Set Restart Loading Screen Tip —
void
— UISetRestartLoadingScreen - Game Credits Finished —
void
— TriggerAddEventGameCreditsFinished
# Examples
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:12964
libCamp_gt_TS_EndCreditsEnds = TriggerCreate("libCamp_gt_TS_EndCreditsEnds_Func");
TriggerEnable(libCamp_gt_TS_EndCreditsEnds, false);
TriggerAddEventGameCreditsFinished(libCamp_gt_TS_EndCreditsEnds, c_playerAny);
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:21774
libSwaC_gt_ZS_EndCreditsEnds = TriggerCreate("libSwaC_gt_ZS_EndCreditsEnds_Func");
TriggerEnable(libSwaC_gt_ZS_EndCreditsEnds, false);
TriggerAddEventGameCreditsFinished(libSwaC_gt_ZS_EndCreditsEnds, c_playerAny);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:10388
libVCUI_gt_PU_EndCreditsEnds = TriggerCreate("libVCUI_gt_PU_EndCreditsEnds_Func");
TriggerEnable(libVCUI_gt_PU_EndCreditsEnds, false);
TriggerAddEventGameCreditsFinished(libVCUI_gt_PU_EndCreditsEnds, c_playerAny);
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:7376
libNCUI_gt_NU_EndCreditsEnds = TriggerCreate("libNCUI_gt_NU_EndCreditsEnds_Func");
TriggerEnable(libNCUI_gt_NU_EndCreditsEnds, false);
TriggerAddEventGameCreditsFinished(libNCUI_gt_NU_EndCreditsEnds, c_playerAny);
TriggerAddEventKeyPressed(libNCUI_gt_NU_EndCreditsEnds, c_playerAny, c_keyEscape, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
}
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:9419
libA3DDD02B_gt_PP_EndCreditsEnds = TriggerCreate("libA3DDD02B_gt_PP_EndCreditsEnds_Func");
TriggerEnable(libA3DDD02B_gt_PP_EndCreditsEnds, false);
TriggerAddEventGameCreditsFinished(libA3DDD02B_gt_PP_EndCreditsEnds, c_playerAny);
}