# Game Credits Finished

Grammar — The End-Game Credits finish rolling for player player|Player.
FlagsNative | 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,
);

Category: UI / Transitions

# Examples

campaigns/libertystory.sc2campaignbase.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.sc2campaignbase.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.sc2campaignbase.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.sc2modbase.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.sc2modbase.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);
}