# Clear Portrait Animation

Grammar — Clear animation identifier on portrait
FlagsAction

Clears an animation on a portrait.

# Arguments

  • int<portrait> — Portrait
  • string — Identifier

Returns — void

void libNtve_gf_ClearPortraitAnimation(
	int lp_portrait,
	string lp_identifier,
);

Category: Portrait / Advanced

# Examples

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:3382


    libSwaC_gv_zS_KerriganHeroPanelLevelUpEffectPlaying = true;
    libNtve_gf_ClearPortraitAnimation(PortraitGetTriggerControl(libSwaC_gv_zS_SwarmHeroUIDialogLevelupPortrait[1]), "TriggerPortraitAnim");
    DialogControlSetVisible(libSwaC_gv_zS_SwarmHeroUIDialogLevelupPortrait[1], PlayerGroupAll(), true);
    ActorSend(ActorFromPortrait(PortraitGetTriggerControl(libSwaC_gv_zS_SwarmHeroUIDialogLevelupPortrait[1])), "AnimBlendTimeApply 0.000000");