# Show/Hide Portrait

GrammarVisible|Show Portrait for Players (forceVisible|Do/Do Not force visible)
FlagsNative | Action

Shows or hides the specified portrait for the specified player group.

# Arguments

Returns — void

native void PortraitSetVisible(
	int p,
	playergroup players,
	bool isVisible,
	bool forceVisible,
);

Category: Portrait / Basic

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:8519

    DialogControlSetVisible(gv_introFlashingLabel, PlayerGroupAll(), false);
    DialogSetVisible(DialogLastCreated(), PlayerGroupAll(), true);
    PortraitSetVisible(PortraitLastCreated(), PlayerGroupAll(), true, false);
    TriggerExecute(gt_IntroCinematicSkippable, true, true);
    DialogControlCreate(DialogLastCreated(), c_triggerControlTypeImage);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:5803

    }

    PortraitSetVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_CenterLeft), PlayerGroupAll(), false, false);
    if ((gv_victoryCinematicCompleted == true)) {
        lv_fadeDuration = 2.0;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:6698

    }

    PortraitSetVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_CenterLeft), PlayerGroupAll(), false, false);
    if ((gv_midCinematicCompleted == true)) {
        lv_fadeDuration = 1.5;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:927


    libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Game);
    PortraitSetVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_CenterLeft), PlayerGroupAll(), false, false);
    TriggerQueueExit();
    return true;

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


    if ((gv_newItems[lp_newItemIndex].lv_flash != c_invalidPortraitId)) {
        PortraitSetVisible(gv_newItems[lp_newItemIndex].lv_flash, PlayerGroupAll(), lp_hideShow, false);
    }

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

    }

    PortraitSetVisible(gv_zPlanetPanel_PortraitBorder, PlayerGroupAll(), lp_showHide, false);
    PortraitSetVisible(gv_zPlanetPanel_PortraitPlanet, PlayerGroupAll(), lp_showHide, false);
    DialogSetVisible(gv_zPlanetPanel_DialogControl, PlayerGroupAll(), lp_showHide);

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


    PortraitSetVisible(gv_zPlanetPanel_PortraitBorder, PlayerGroupAll(), lp_showHide, false);
    PortraitSetVisible(gv_zPlanetPanel_PortraitPlanet, PlayerGroupAll(), lp_showHide, false);
    DialogSetVisible(gv_zPlanetPanel_DialogControl, PlayerGroupAll(), lp_showHide);
    DialogSetVisible(gv_zPlanetPanel_DialogSubtitle, PlayerGroupAll(), false);

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

    gf_BriefingDestoryAllPortraits();
    UISetWorldVisible(PlayerGroupAll(), true);
    PortraitSetVisible(libNtve_gf_FullscreenPortrait(), PlayerGroupAll(), false, false);
    gf_BriefingRemoveAllActors();
    gf_LockActorReloading(false);

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

    PortraitSetBorderVisible(PortraitLastCreated(), false);
    PortraitWaitForLoad(PortraitLastCreated());
    PortraitSetVisible(PortraitLastCreated(), PlayerGroupAll(), true, true);
    gf_GoToRoom(ge_RoomID_RoomVoid, false);
}

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

    if ((gv_newItemInfoPaused == true)) {
        DialogSetVisible(DialogLastCreated(), PlayerGroupAll(), false);
        PortraitSetVisible(PortraitLastCreated(), PlayerGroupAll(), false, false);
    }
    else {

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

    else {
        DialogSetVisible(DialogLastCreated(), PlayerGroupAll(), true);
        PortraitSetVisible(PortraitLastCreated(), PlayerGroupAll(), true, false);
    }
    gf_WaitNewItemInfoDisplayDuration(lv_newItemIndex);

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


    PortraitCreate(0, 0, c_anchorCenter, 450, 450, "ToshPortrait", "Dflt", "", true, true);
    PortraitSetVisible(PortraitLastCreated(), PlayerGroupAll(), true, false);
    Wait(4.0, c_timeReal);
    PortraitDestroy(PortraitLastCreated());

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


    PortraitCreate(0, 0, c_anchorCenter, 450, 450, "HansonPortrait", "Dflt", "", true, true);
    PortraitSetVisible(PortraitLastCreated(), PlayerGroupAll(), true, false);
    Wait(4.0, c_timeReal);
    PortraitDestroy(PortraitLastCreated());

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

    PortraitSetOffscreen(gv_bridgeCommunicatorPortraitValerian, true);
    PortraitWaitForLoad(gv_bridgeCommunicatorPortraitValerian);
    PortraitSetVisible(gv_bridgeCommunicatorPortraitValerian, PlayerGroupAll(), true, true);
    PortraitSetChannel(gv_bridgeCommunicatorPortraitValerian, 1);
    gf_Convo("Valerian", ge_RoomID_RoomBridge, ge_ActorID_ActorRaynor, PointFromId(36), ge_ActorID_ActorValerian, null, null, ge_ActorID_ActorNone, null, null, gt_BridgeCommunicatorClickedPreCallback, gt_BridgeCommunicatorClickedPostCallback, true, true, null, gt_BridgeCommunicatorClickedCustomCamera);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:5393

    }

    PortraitSetVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_BottomLeft), PlayerGroupAll(), false, false);
    if ((gv_victoryCinematicCompleted == true)) {
        lv_fadeDuratioin = 2.0;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:6039

    }

    PortraitSetVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_CenterLeft), PlayerGroupAll(), false, false);
    if ((gv_p1DoneCompleted == true)) {
        lv_fadeDuration = 2.0;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:6320

    }

    PortraitSetVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_CenterLeft), PlayerGroupAll(), false, false);
    if ((gv_p2DoneCompleted == true)) {
        lv_fadeDuratioin = 2.0;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:661

    TransmissionClearAll();
    TriggerQueueClear(c_triggerQueueRemove);
    PortraitSetVisible(gv_cinematicWindow, PlayerGroupAll(), false, false);
    gf_HideReplayTransmissionButtons();
    DialogSetVisible(gv_mainDialog, PlayerGroupAll(), false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:1126


    TimerRestart(gv_timer_Legs);
    PortraitSetVisible(libNtve_gf_CinematicPortrait(4), PlayerGroupAll(), false, false);
    gf_HideReplayTransmissionButtons();
    UnitGroupLoopBegin(UnitGroup(null, c_playerAny, null, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:1207

    gf_IfConditionThenFormatButton(gv_tutorialComplete_Supply, gv_mainButton08_Supply, StringExternal("Param/Value/0D7903CE"));
    PortraitSetModel(gv_cinematicWindow, "AdjutantPortrait_L", false);
    PortraitSetVisible(gv_cinematicWindow, PlayerGroupAll(), true, false);
    DialogSetVisible(gv_mainDialog, PlayerGroupAll(), true);
    DialogSetVisible(gv_tutorialDialog, PlayerGroupAll(), false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:1275

    PortraitSetBorderVisible(PortraitLastCreated(), false);
    PortraitSetModel(gv_cinematicWindow, "AdjutantPortrait_L", false);
    PortraitSetVisible(gv_cinematicWindow, PlayerGroupAll(), true, false);
    libNtve_gf_CreateDialogItemLabel(gv_mainDialog, lv_itemWidth, lv_itemHeight, c_anchorTop, 88, 165, TextCase(StringExternal("Param/Value/E60F4B90"), true), Color(100,100,100), false, 2.0);
    gv_mainLabel = DialogControlLastCreated();

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:1428

    }
    PortraitSetModel(gv_cinematicWindow, "AdjutantPortrait_L", false);
    PortraitSetVisible(gv_cinematicWindow, PlayerGroupAll(), true, false);
    libLbty_gf_SetAllSoundChannelVolumesStandardTiming(1, PlayerGroupAll());
    // Transmission - SoundLink("TutorialAdjutant00060", -1)

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:1435

    libNtve_gf_SendTransmissionSimple(TransmissionSourceFromModel(null), gv_cinematicWindow, SoundLink("TutorialAdjutant00068", -1), 0.0, c_transmissionDurationAdd, true);
    libLbty_gf_SetAllSoundChannelVolumesStandardTiming(2, PlayerGroupAll());
    PortraitSetVisible(gv_portrait_Adjutant, PlayerGroupAll(), true, false);
    TimerPause(gv_timer_Opening, false);
    TimerPause(gv_timer_Legs, false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:1637

        DialogSetVisible(gv_mainDialog, PlayerGroupAll(), false);
        DialogSetVisible(gv_tutorialDialog, PlayerGroupAll(), false);
        PortraitSetVisible(gv_portrait_Adjutant, PlayerGroupAll(), false, false);
        auto3C0E21C3_n = 4;
        auto3C0E21C3_i = 1;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:1723

    CinematicFade(true, 0.5, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, true);
    TriggerExecute(gt_ObjectiveUserInterfaceCreateQ, true, true);
    PortraitSetVisible(libNtve_gf_CinematicPortrait(4), PlayerGroupAll(), true, false);
    if ((gv_replay_Transmission_Is_Playing == false)) {
        libLbty_gf_PlayTransmissionCueSound(PlayerGroupAll());

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:2008

    gv_tutorial_Visibility = VisRevealerLastCreated();
    TriggerExecute(gt_ObjectiveCamera01CreateQ, true, true);
    PortraitSetVisible(libNtve_gf_CinematicPortrait(4), PlayerGroupAll(), true, false);
    if ((gv_replay_Transmission_Is_Playing == false)) {
        libLbty_gf_PlayTransmissionCueSound(PlayerGroupAll());

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:2707

    gv_tutorial_Visibility = VisRevealerLastCreated();
    TriggerExecute(gt_ObjectiveMovement01CreateQ, true, false);
    PortraitSetVisible(libNtve_gf_CinematicPortrait(4), PlayerGroupAll(), true, false);
    if ((gv_replay_Transmission_Is_Playing == false)) {
        libLbty_gf_PlayTransmissionCueSound(PlayerGroupAll());

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:6182

    }

    PortraitSetVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_CenterLeft), PlayerGroupAll(), false, false);
    if ((gv_victoryCinematicCompleted == true)) {
        lv_fadeDuration = 2.0;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:7138

    PortraitSetBorderVisible(PortraitLastCreated(), false);
    Wait(1.0, c_timeGame);
    PortraitSetVisible(PortraitLastCreated(), PlayerGroupAll(), true, false);
    CinematicFade(true, 2.0, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, true);
    // Transmission - SoundLink("TZeratul02Preserver200040", 0)

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:7157

    EnvironmentShow(c_environmentWater, true);
    EnvironmentShow(c_environmentTerrain, true);
    PortraitSetVisible(PortraitLastCreated(), PlayerGroupAll(), false, false);
    GameSetLighting("ZhakulDas", 0.0);
    CameraApplyInfo(gv_p1_USER, CameraInfoFromId(307), 0.0, -1, 10, true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:5465

    CameraApplyInfo(gv_p01_USER, CameraInfoFromId(625), 18.0, -1, 10, true);
    TriggerExecute(gt_VictoryCineScene4Stuff, true, false);
    PortraitSetVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_BottomLeft), PlayerGroupAll(), true, false);
    // Transmission - SoundLink("TZeratul03Tassadar00059", -1)
    libCamp_gf_SendTransmissionCampaign(null, SoundLink("TZeratul03Tassadar00059", 0), c_transmissionDurationAdd, 0.0, true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:5503

    // Transmission - SoundLink("TZeratul03Zeratul00062", -1)
    libCamp_gf_SendTransmissionCampaign(gv_zeratul, SoundLink("TZeratul03Zeratul00062", 0), c_transmissionDurationAdd, 0.0, true);
    PortraitSetVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_BottomLeft), PlayerGroupAll(), false, false);
    gv_victoryCinematicCompleted = true;
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:5668


    gv_victoryCinematicCompleted = true;
    PortraitSetVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_BottomLeft), PlayerGroupAll(), false, false);
    TransmissionClearAll();
    TriggerStop(gt_VictoryCineFinalTendrilScene2);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:6725

    CameraApplyInfo(gv_p01_PLAYER, CameraInfoFromId(1152), 0.0, -1, 10, true);
    Wait(1.0, c_timeGame);
    PortraitSetVisible(gv_victoryPortrait, PlayerGroupAll(), true, false);
    if ((gv_killCount >= 2500)) {
        // Transmission - SoundLink("TZeratul04DarkVoice00036", -1)

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:8519

    DialogControlSetVisible(gv_introFlashingLabel, PlayerGroupAll(), false);
    DialogSetVisible(DialogLastCreated(), PlayerGroupAll(), true);
    PortraitSetVisible(PortraitLastCreated(), PlayerGroupAll(), true, false);
    TriggerExecute(gt_IntroCinematicSkippable, true, true);
    DialogControlCreate(DialogLastCreated(), c_triggerControlTypeImage);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2mapMapScript.galaxy:5803

    }

    PortraitSetVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_CenterLeft), PlayerGroupAll(), false, false);
    if ((gv_victoryCinematicCompleted == true)) {
        lv_fadeDuration = 2.0;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2mapMapScript.galaxy:6698

    }

    PortraitSetVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_CenterLeft), PlayerGroupAll(), false, false);
    if ((gv_midCinematicCompleted == true)) {
        lv_fadeDuration = 1.5;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor02.sc2mapMapScript.galaxy:927


    libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Game);
    PortraitSetVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_CenterLeft), PlayerGroupAll(), false, false);
    TriggerQueueExit();
    return true;

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


    if ((gv_newItems[lp_newItemIndex].lv_flash != c_invalidPortraitId)) {
        PortraitSetVisible(gv_newItems[lp_newItemIndex].lv_flash, PlayerGroupAll(), lp_hideShow, false);
    }

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

    }

    PortraitSetVisible(gv_zPlanetPanel_PortraitBorder, PlayerGroupAll(), lp_showHide, false);
    PortraitSetVisible(gv_zPlanetPanel_PortraitPlanet, PlayerGroupAll(), lp_showHide, false);
    DialogSetVisible(gv_zPlanetPanel_DialogControl, PlayerGroupAll(), lp_showHide);

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


    PortraitSetVisible(gv_zPlanetPanel_PortraitBorder, PlayerGroupAll(), lp_showHide, false);
    PortraitSetVisible(gv_zPlanetPanel_PortraitPlanet, PlayerGroupAll(), lp_showHide, false);
    DialogSetVisible(gv_zPlanetPanel_DialogControl, PlayerGroupAll(), lp_showHide);
    DialogSetVisible(gv_zPlanetPanel_DialogSubtitle, PlayerGroupAll(), false);

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

    gf_BriefingDestoryAllPortraits();
    UISetWorldVisible(PlayerGroupAll(), true);
    PortraitSetVisible(libNtve_gf_FullscreenPortrait(), PlayerGroupAll(), false, false);
    gf_BriefingRemoveAllActors();
    gf_LockActorReloading(false);

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

    PortraitSetBorderVisible(PortraitLastCreated(), false);
    PortraitWaitForLoad(PortraitLastCreated());
    PortraitSetVisible(PortraitLastCreated(), PlayerGroupAll(), true, true);
    gf_GoToRoom(ge_RoomID_RoomVoid, false);
}

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

    if ((gv_newItemInfoPaused == true)) {
        DialogSetVisible(DialogLastCreated(), PlayerGroupAll(), false);
        PortraitSetVisible(PortraitLastCreated(), PlayerGroupAll(), false, false);
    }
    else {

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

    else {
        DialogSetVisible(DialogLastCreated(), PlayerGroupAll(), true);
        PortraitSetVisible(PortraitLastCreated(), PlayerGroupAll(), true, false);
    }
    gf_WaitNewItemInfoDisplayDuration(lv_newItemIndex);

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


    PortraitCreate(0, 0, c_anchorCenter, 450, 450, "ToshPortrait", "Dflt", "", true, true);
    PortraitSetVisible(PortraitLastCreated(), PlayerGroupAll(), true, false);
    Wait(4.0, c_timeReal);
    PortraitDestroy(PortraitLastCreated());

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


    PortraitCreate(0, 0, c_anchorCenter, 450, 450, "HansonPortrait", "Dflt", "", true, true);
    PortraitSetVisible(PortraitLastCreated(), PlayerGroupAll(), true, false);
    Wait(4.0, c_timeReal);
    PortraitDestroy(PortraitLastCreated());

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

    PortraitSetOffscreen(gv_bridgeCommunicatorPortraitValerian, true);
    PortraitWaitForLoad(gv_bridgeCommunicatorPortraitValerian);
    PortraitSetVisible(gv_bridgeCommunicatorPortraitValerian, PlayerGroupAll(), true, true);
    PortraitSetChannel(gv_bridgeCommunicatorPortraitValerian, 1);
    gf_Convo("Valerian", ge_RoomID_RoomBridge, ge_ActorID_ActorRaynor, PointFromId(36), ge_ActorID_ActorValerian, null, null, ge_ActorID_ActorNone, null, null, gt_BridgeCommunicatorClickedPreCallback, gt_BridgeCommunicatorClickedPostCallback, true, true, null, gt_BridgeCommunicatorClickedCustomCamera);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03a.sc2mapMapScript.galaxy:5393

    }

    PortraitSetVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_BottomLeft), PlayerGroupAll(), false, false);
    if ((gv_victoryCinematicCompleted == true)) {
        lv_fadeDuratioin = 2.0;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03b.sc2mapMapScript.galaxy:6039

    }

    PortraitSetVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_CenterLeft), PlayerGroupAll(), false, false);
    if ((gv_p1DoneCompleted == true)) {
        lv_fadeDuration = 2.0;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03b.sc2mapMapScript.galaxy:6320

    }

    PortraitSetVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_CenterLeft), PlayerGroupAll(), false, false);
    if ((gv_p2DoneCompleted == true)) {
        lv_fadeDuratioin = 2.0;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:661

    TransmissionClearAll();
    TriggerQueueClear(c_triggerQueueRemove);
    PortraitSetVisible(gv_cinematicWindow, PlayerGroupAll(), false, false);
    gf_HideReplayTransmissionButtons();
    DialogSetVisible(gv_mainDialog, PlayerGroupAll(), false);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:1126


    TimerRestart(gv_timer_Legs);
    PortraitSetVisible(libNtve_gf_CinematicPortrait(4), PlayerGroupAll(), false, false);
    gf_HideReplayTransmissionButtons();
    UnitGroupLoopBegin(UnitGroup(null, c_playerAny, null, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:1207

    gf_IfConditionThenFormatButton(gv_tutorialComplete_Supply, gv_mainButton08_Supply, StringExternal("Param/Value/0D7903CE"));
    PortraitSetModel(gv_cinematicWindow, "AdjutantPortrait_L", false);
    PortraitSetVisible(gv_cinematicWindow, PlayerGroupAll(), true, false);
    DialogSetVisible(gv_mainDialog, PlayerGroupAll(), true);
    DialogSetVisible(gv_tutorialDialog, PlayerGroupAll(), false);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:1275

    PortraitSetBorderVisible(PortraitLastCreated(), false);
    PortraitSetModel(gv_cinematicWindow, "AdjutantPortrait_L", false);
    PortraitSetVisible(gv_cinematicWindow, PlayerGroupAll(), true, false);
    libNtve_gf_CreateDialogItemLabel(gv_mainDialog, lv_itemWidth, lv_itemHeight, c_anchorTop, 88, 165, TextCase(StringExternal("Param/Value/E60F4B90"), true), Color(100,100,100), false, 2.0);
    gv_mainLabel = DialogControlLastCreated();

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:1428

    }
    PortraitSetModel(gv_cinematicWindow, "AdjutantPortrait_L", false);
    PortraitSetVisible(gv_cinematicWindow, PlayerGroupAll(), true, false);
    libLbty_gf_SetAllSoundChannelVolumesStandardTiming(1, PlayerGroupAll());
    // Transmission - SoundLink("TutorialAdjutant00060", -1)

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:1435

    libNtve_gf_SendTransmissionSimple(TransmissionSourceFromModel(null), gv_cinematicWindow, SoundLink("TutorialAdjutant00068", -1), 0.0, c_transmissionDurationAdd, true);
    libLbty_gf_SetAllSoundChannelVolumesStandardTiming(2, PlayerGroupAll());
    PortraitSetVisible(gv_portrait_Adjutant, PlayerGroupAll(), true, false);
    TimerPause(gv_timer_Opening, false);
    TimerPause(gv_timer_Legs, false);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:1637

        DialogSetVisible(gv_mainDialog, PlayerGroupAll(), false);
        DialogSetVisible(gv_tutorialDialog, PlayerGroupAll(), false);
        PortraitSetVisible(gv_portrait_Adjutant, PlayerGroupAll(), false, false);
        auto3C0E21C3_n = 4;
        auto3C0E21C3_i = 1;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:1723

    CinematicFade(true, 0.5, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, true);
    TriggerExecute(gt_ObjectiveUserInterfaceCreateQ, true, true);
    PortraitSetVisible(libNtve_gf_CinematicPortrait(4), PlayerGroupAll(), true, false);
    if ((gv_replay_Transmission_Is_Playing == false)) {
        libLbty_gf_PlayTransmissionCueSound(PlayerGroupAll());

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:2008

    gv_tutorial_Visibility = VisRevealerLastCreated();
    TriggerExecute(gt_ObjectiveCamera01CreateQ, true, true);
    PortraitSetVisible(libNtve_gf_CinematicPortrait(4), PlayerGroupAll(), true, false);
    if ((gv_replay_Transmission_Is_Playing == false)) {
        libLbty_gf_PlayTransmissionCueSound(PlayerGroupAll());

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:2707

    gv_tutorial_Visibility = VisRevealerLastCreated();
    TriggerExecute(gt_ObjectiveMovement01CreateQ, true, false);
    PortraitSetVisible(libNtve_gf_CinematicPortrait(4), PlayerGroupAll(), true, false);
    if ((gv_replay_Transmission_Is_Playing == false)) {
        libLbty_gf_PlayTransmissionCueSound(PlayerGroupAll());

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus03.sc2mapMapScript.galaxy:6182

    }

    PortraitSetVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_CenterLeft), PlayerGroupAll(), false, false);
    if ((gv_victoryCinematicCompleted == true)) {
        lv_fadeDuration = 2.0;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2mapMapScript.galaxy:7138

    PortraitSetBorderVisible(PortraitLastCreated(), false);
    Wait(1.0, c_timeGame);
    PortraitSetVisible(PortraitLastCreated(), PlayerGroupAll(), true, false);
    CinematicFade(true, 2.0, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, true);
    // Transmission - SoundLink("TZeratul02Preserver200040", 0)

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2mapMapScript.galaxy:7157

    EnvironmentShow(c_environmentWater, true);
    EnvironmentShow(c_environmentTerrain, true);
    PortraitSetVisible(PortraitLastCreated(), PlayerGroupAll(), false, false);
    GameSetLighting("ZhakulDas", 0.0);
    CameraApplyInfo(gv_p1_USER, CameraInfoFromId(307), 0.0, -1, 10, true);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2mapMapScript.galaxy:5465

    CameraApplyInfo(gv_p01_USER, CameraInfoFromId(625), 18.0, -1, 10, true);
    TriggerExecute(gt_VictoryCineScene4Stuff, true, false);
    PortraitSetVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_BottomLeft), PlayerGroupAll(), true, false);
    // Transmission - SoundLink("TZeratul03Tassadar00059", -1)
    libCamp_gf_SendTransmissionCampaign(null, SoundLink("TZeratul03Tassadar00059", 0), c_transmissionDurationAdd, 0.0, true);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2mapMapScript.galaxy:5503

    // Transmission - SoundLink("TZeratul03Zeratul00062", -1)
    libCamp_gf_SendTransmissionCampaign(gv_zeratul, SoundLink("TZeratul03Zeratul00062", 0), c_transmissionDurationAdd, 0.0, true);
    PortraitSetVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_BottomLeft), PlayerGroupAll(), false, false);
    gv_victoryCinematicCompleted = true;
    return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2mapMapScript.galaxy:5668


    gv_victoryCinematicCompleted = true;
    PortraitSetVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_BottomLeft), PlayerGroupAll(), false, false);
    TransmissionClearAll();
    TriggerStop(gt_VictoryCineFinalTendrilScene2);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul04.sc2mapMapScript.galaxy:6725

    CameraApplyInfo(gv_p01_PLAYER, CameraInfoFromId(1152), 0.0, -1, 10, true);
    Wait(1.0, c_timeGame);
    PortraitSetVisible(gv_victoryPortrait, PlayerGroupAll(), true, false);
    if ((gv_killCount >= 2500)) {
        // Transmission - SoundLink("TZeratul04DarkVoice00036", -1)

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

    libSwaC_gv_zS_SendTransmissionCampaignPortrait = lv_portrait;
    if ((libSwaC_gv_zS_SendTransmissionCampaignPortrait != c_invalidPortraitId)) {
        PortraitSetVisible(libSwaC_gv_zS_SendTransmissionCampaignPortrait, PlayerGroupAll(), true, false);
        libSwaC_gf_ZS_UpdateErrorPanelMaskSingle();
    }

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

        if ((libSwaC_gv_zS_SendTransmissionCampaignPortrait != lp_portrait) && (lp_portrait != c_invalidPortraitId) && (lp_keepPortraitVisible == libSwaC_ge_CampaignTransmissionPortraitOptioins_HidePortraitAfter)) {
            PortraitSetModel(lp_portrait, "StaticPortrait", false);
            PortraitSetVisible(lp_portrait, PlayerGroupAll(), false, false);
            libSwaC_gf_ZS_UpdateErrorPanelMaskSingle();
        }

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

    if ((lp_keepPortraitVisible == libSwaC_ge_CampaignTransmissionPortraitOptioins_HidePortraitAfter) && (lp_portrait != c_invalidPortraitId)) {
        PortraitSetModel(lp_portrait, "StaticPortrait", false);
        PortraitSetVisible(lp_portrait, PlayerGroupAll(), false, false);
    }

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

    PortraitSetFullscreen(libSwaC_gv_zS_PlanetPortrait, true);
    PortraitSetOffscreen(libSwaC_gv_zS_PlanetPortrait, false);
    PortraitSetVisible(libSwaC_gv_zS_PlanetPortrait, PlayerGroupAll(), true, true);
    libSwaC_gf_CinematicFade(false, 0.0, Color(0.00, 0.00, 0.00), true);
    libSwaC_gf_CinematicFade(true, 2.0, Color(0.00, 0.00, 0.00), true);

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

    SoundChannelMute(PlayerGroupAll(), c_soundCategoryDoodad, false);
    PortraitSetOffscreen(libSwaC_gv_zS_PlanetPortrait, true);
    PortraitSetVisible(libSwaC_gv_zS_PlanetPortrait, PlayerGroupAll(), false, false);
    if ((libSwaC_gv_zS_PlanetPortraitEvoMissionLight != null)) {
        GameSetLighting(libSwaC_gv_zS_PlanetPortraitEvoMissionLight, 0.0);

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:2026

    PortraitSetFullscreen(libVCMI_gv_pM_PlanetPortrait, true);
    PortraitSetOffscreen(libVCMI_gv_pM_PlanetPortrait, false);
    PortraitSetVisible(libVCMI_gv_pM_PlanetPortrait, PlayerGroupAll(), true, true);
    libVoiC_gf_CinematicFade(false, 0.0, Color(0.00, 0.00, 0.00), true);
    libVoiC_gf_CinematicFade(true, 2.0, Color(0.00, 0.00, 0.00), true);

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:2812

    libVCMI_gv_pM_SendTransmissionCampaignPortrait = lv_portrait;
    if ((libVCMI_gv_pM_SendTransmissionCampaignPortrait != c_invalidPortraitId)) {
        PortraitSetVisible(libVCMI_gv_pM_SendTransmissionCampaignPortrait, PlayerGroupAll(), true, false);
    }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:2930

        if ((libVCMI_gv_pM_SendTransmissionCampaignPortrait != lp_portrait) && (lp_portrait != c_invalidPortraitId) && (lp_keepPortraitVisible == libVCMI_ge_MissionTransmissionPortraitOptioins_HidePortraitAfter)) {
            PortraitSetModel(lp_portrait, "StaticPortrait", false);
            PortraitSetVisible(lp_portrait, PlayerGroupAll(), false, false);
        }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:2949

    if ((lp_keepPortraitVisible == libVCMI_ge_MissionTransmissionPortraitOptioins_HidePortraitAfter) && (lp_portrait != c_invalidPortraitId)) {
        PortraitSetModel(lp_portrait, "StaticPortrait", false);
        PortraitSetVisible(lp_portrait, PlayerGroupAll(), false, false);
    }

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:4101

    PortraitSetBorderVisible(libNtve_gv_cinematicPortraits[lv_index], true);
    PortraitUseTransition(libNtve_gv_cinematicPortraits[lv_index], true);
    PortraitSetVisible(libNtve_gv_cinematicPortraits[lv_index], PlayerGroupAll(), false, false);
    return libNtve_gv_cinematicPortraits[lv_index];
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:4109

    // Implementation
    if ((libNtve_gv_cinematicPortraits[libNtve_ge_CinematicPortraitIndex_CinematicPortraitBottomLeft] != c_invalidPortraitId)) {
        PortraitSetVisible(libNtve_gv_cinematicPortraits[libNtve_ge_CinematicPortraitIndex_CinematicPortraitBottomLeft], lp_players, false, false);
    }

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:4113


    if ((libNtve_gv_cinematicPortraits[libNtve_ge_CinematicPortraitIndex_CinematicPortraitBottomRight] != c_invalidPortraitId)) {
        PortraitSetVisible(libNtve_gv_cinematicPortraits[libNtve_ge_CinematicPortraitIndex_CinematicPortraitBottomRight], lp_players, false, false);
    }

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:4117


    if ((libNtve_gv_cinematicPortraits[libNtve_ge_CinematicPortraitIndex_CinematicPortraitCenterLeft] != c_invalidPortraitId)) {
        PortraitSetVisible(libNtve_gv_cinematicPortraits[libNtve_ge_CinematicPortraitIndex_CinematicPortraitCenterLeft], lp_players, false, false);
    }

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:4121


    if ((libNtve_gv_cinematicPortraits[libNtve_ge_CinematicPortraitIndex_CinematicPortraitCenterRight] != c_invalidPortraitId)) {
        PortraitSetVisible(libNtve_gv_cinematicPortraits[libNtve_ge_CinematicPortraitIndex_CinematicPortraitCenterRight], lp_players, false, false);
    }

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:4125


    if ((libNtve_gv_cinematicPortraits[libNtve_ge_CinematicPortraitIndex_CinematicPortraitTopLeft] != c_invalidPortraitId)) {
        PortraitSetVisible(libNtve_gv_cinematicPortraits[libNtve_ge_CinematicPortraitIndex_CinematicPortraitTopLeft], lp_players, false, false);
    }

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:4129


    if ((libNtve_gv_cinematicPortraits[libNtve_ge_CinematicPortraitIndex_CinematicPortraitTopRight] != c_invalidPortraitId)) {
        PortraitSetVisible(libNtve_gv_cinematicPortraits[libNtve_ge_CinematicPortraitIndex_CinematicPortraitTopRight], lp_players, false, false);
    }

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:4152

    PortraitSetBorderVisible(libNtve_gv_cinematicPortraits[lv_index], false);
    PortraitUseTransition(libNtve_gv_cinematicPortraits[lv_index], false);
    PortraitSetVisible(libNtve_gv_cinematicPortraits[lv_index], PlayerGroupAll(), false, false);
    return libNtve_gv_cinematicPortraits[lv_index];
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:3400

    PortraitSetBorderVisible(libNtve_gv_cinematicPortraits[lv_index], true);
    PortraitUseTransition(libNtve_gv_cinematicPortraits[lv_index], true);
    PortraitSetVisible(libNtve_gv_cinematicPortraits[lv_index], PlayerGroupAll(), false, false);
    return libNtve_gv_cinematicPortraits[lv_index];
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:3408

    // Implementation
    if ((libNtve_gv_cinematicPortraits[libNtve_ge_CinematicPortraitIndex_CinematicPortraitBottomLeft] != c_invalidPortraitId)) {
        PortraitSetVisible(libNtve_gv_cinematicPortraits[libNtve_ge_CinematicPortraitIndex_CinematicPortraitBottomLeft], lp_players, false, false);
    }

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:3412


    if ((libNtve_gv_cinematicPortraits[libNtve_ge_CinematicPortraitIndex_CinematicPortraitBottomRight] != c_invalidPortraitId)) {
        PortraitSetVisible(libNtve_gv_cinematicPortraits[libNtve_ge_CinematicPortraitIndex_CinematicPortraitBottomRight], lp_players, false, false);
    }

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:3416


    if ((libNtve_gv_cinematicPortraits[libNtve_ge_CinematicPortraitIndex_CinematicPortraitCenterLeft] != c_invalidPortraitId)) {
        PortraitSetVisible(libNtve_gv_cinematicPortraits[libNtve_ge_CinematicPortraitIndex_CinematicPortraitCenterLeft], lp_players, false, false);
    }

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:3420


    if ((libNtve_gv_cinematicPortraits[libNtve_ge_CinematicPortraitIndex_CinematicPortraitCenterRight] != c_invalidPortraitId)) {
        PortraitSetVisible(libNtve_gv_cinematicPortraits[libNtve_ge_CinematicPortraitIndex_CinematicPortraitCenterRight], lp_players, false, false);
    }

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:3424


    if ((libNtve_gv_cinematicPortraits[libNtve_ge_CinematicPortraitIndex_CinematicPortraitTopLeft] != c_invalidPortraitId)) {
        PortraitSetVisible(libNtve_gv_cinematicPortraits[libNtve_ge_CinematicPortraitIndex_CinematicPortraitTopLeft], lp_players, false, false);
    }

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:3428


    if ((libNtve_gv_cinematicPortraits[libNtve_ge_CinematicPortraitIndex_CinematicPortraitTopRight] != c_invalidPortraitId)) {
        PortraitSetVisible(libNtve_gv_cinematicPortraits[libNtve_ge_CinematicPortraitIndex_CinematicPortraitTopRight], lp_players, false, false);
    }

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:3451

    PortraitSetBorderVisible(libNtve_gv_cinematicPortraits[lv_index], false);
    PortraitUseTransition(libNtve_gv_cinematicPortraits[lv_index], false);
    PortraitSetVisible(libNtve_gv_cinematicPortraits[lv_index], PlayerGroupAll(), false, false);
    return libNtve_gv_cinematicPortraits[lv_index];
}

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/HeroesLib.galaxy:3601

    libCore_gv_zS_SendTransmissionCampaignPortrait = lv_portrait;
    if ((libCore_gv_zS_SendTransmissionCampaignPortrait != c_invalidPortraitId)) {
        PortraitSetVisible(libCore_gv_zS_SendTransmissionCampaignPortrait, PlayerGroupAll(), true, false);
    }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/HeroesLib.galaxy:3712

        if ((libCore_gv_zS_SendTransmissionCampaignPortrait != lp_portrait) && (lp_portrait != c_invalidPortraitId) && (lp_keepPortraitVisible == libCore_ge_TransmissionPortraitOptioins_HidePortraitAfter) && (lp_portrait != PortraitGetGame())) {
            PortraitSetModel(lp_portrait, "MissingPortrait", false);
            PortraitSetVisible(lp_portrait, PlayerGroupAll(), false, false);
        }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/HeroesLib.galaxy:3723

    if ((lp_keepPortraitVisible == libCore_ge_TransmissionPortraitOptioins_HidePortraitAfter) && (lp_portrait != c_invalidPortraitId) && (lp_portrait != PortraitGetGame())) {
        PortraitSetModel(lp_portrait, "MissingPortrait", false);
        PortraitSetVisible(lp_portrait, PlayerGroupAll(), false, false);
    }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/HeroesLib.galaxy:3801

    libCore_gv_zS_SendTransmissionCampaignPortrait = lv_portrait;
    if ((libCore_gv_zS_SendTransmissionCampaignPortrait != c_invalidPortraitId)) {
        PortraitSetVisible(libCore_gv_zS_SendTransmissionCampaignPortrait, PlayerGroupSingle(lp_player), true, false);
    }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/HeroesLib.galaxy:3916

        if ((libCore_gv_zS_SendTransmissionCampaignPortrait != lp_portrait) && (lp_portrait != c_invalidPortraitId) && (lp_keepPortraitVisible == libCore_ge_TransmissionPortraitOptioins_HidePortraitAfter) && (lp_portrait != PortraitGetGame())) {
            PortraitSetModel(lp_portrait, "MissingPortrait", false);
            PortraitSetVisible(lp_portrait, PlayerGroupSingle(lp_player), false, false);
        }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/HeroesLib.galaxy:3927

    if ((lp_keepPortraitVisible == libCore_ge_TransmissionPortraitOptioins_HidePortraitAfter) && (lp_portrait != c_invalidPortraitId) && (lp_portrait != PortraitGetGame())) {
        PortraitSetModel(lp_portrait, "MissingPortrait", false);
        PortraitSetVisible(lp_portrait, PlayerGroupSingle(lp_player), false, false);
    }

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCMI.galaxy:2706

    PortraitSetFullscreen(libNCMI_gv_NM_PlanetPortrait, true);
    PortraitSetOffscreen(libNCMI_gv_NM_PlanetPortrait, false);
    PortraitSetVisible(libNCMI_gv_NM_PlanetPortrait, PlayerGroupAll(), true, true);
    libComC_gf_CinematicFade(false, 0.0, Color(0.00, 0.00, 0.00), true);
    libComC_gf_CinematicFade(true, 2.0, Color(0.00, 0.00, 0.00), true);