# Last Created Portrait
Grammar — Last created portrait
Flags —Native
|Function
Returns the last created portrait.
Returns — int
<portrait>
native int PortraitLastCreated();
# Related
Category: Portrait / Basic
- Create Portrait —
int
<portrait> — PortraitCreate - Show/Hide Portrait —
void
— PortraitSetVisible - Last Created Portrait —
int
<portrait> — PortraitLastCreated - Portrait Is Visible —
bool
— PortraitVisible
# Examples
campaigns/liberty.sc2campaign — base.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.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:8527
DialogControlFadeTransparency(DialogControlLastCreated(), PlayerGroupAll(), 2.0, 0.0);
Wait(2.0, c_timeGame);
PortraitDestroy(PortraitLastCreated());
DialogDestroy(DialogLastCreated());
UISetWorldVisible(PlayerGroupAll(), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:10373
gv_zPlanetPanel_Created = true;
PortraitCreate(0, 0, c_anchorCenter, 237, 360, null, "", "Stand", false, true);
gv_zPlanetPanel_PortraitPlanet = PortraitLastCreated();
PortraitSetBackgroundVisible(PortraitLastCreated(), false);
PortraitSetBorderVisible(PortraitLastCreated(), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:10374
PortraitCreate(0, 0, c_anchorCenter, 237, 360, null, "", "Stand", false, true);
gv_zPlanetPanel_PortraitPlanet = PortraitLastCreated();
PortraitSetBackgroundVisible(PortraitLastCreated(), false);
PortraitSetBorderVisible(PortraitLastCreated(), false);
PortraitSetFullscreen(PortraitLastCreated(), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:10375
gv_zPlanetPanel_PortraitPlanet = PortraitLastCreated();
PortraitSetBackgroundVisible(PortraitLastCreated(), false);
PortraitSetBorderVisible(PortraitLastCreated(), false);
PortraitSetFullscreen(PortraitLastCreated(), true);
PortraitCreate(0, 0, c_anchorCenter, 237, 360, "SMZeratulMissionSelectBorder", "", "Stand", false, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:10376
PortraitSetBackgroundVisible(PortraitLastCreated(), false);
PortraitSetBorderVisible(PortraitLastCreated(), false);
PortraitSetFullscreen(PortraitLastCreated(), true);
PortraitCreate(0, 0, c_anchorCenter, 237, 360, "SMZeratulMissionSelectBorder", "", "Stand", false, true);
gv_zPlanetPanel_PortraitBorder = PortraitLastCreated();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:10378
PortraitSetFullscreen(PortraitLastCreated(), true);
PortraitCreate(0, 0, c_anchorCenter, 237, 360, "SMZeratulMissionSelectBorder", "", "Stand", false, true);
gv_zPlanetPanel_PortraitBorder = PortraitLastCreated();
PortraitSetBackgroundVisible(PortraitLastCreated(), false);
PortraitSetBorderVisible(PortraitLastCreated(), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:10379
PortraitCreate(0, 0, c_anchorCenter, 237, 360, "SMZeratulMissionSelectBorder", "", "Stand", false, true);
gv_zPlanetPanel_PortraitBorder = PortraitLastCreated();
PortraitSetBackgroundVisible(PortraitLastCreated(), false);
PortraitSetBorderVisible(PortraitLastCreated(), false);
PortraitSetFullscreen(PortraitLastCreated(), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:10380
gv_zPlanetPanel_PortraitBorder = PortraitLastCreated();
PortraitSetBackgroundVisible(PortraitLastCreated(), false);
PortraitSetBorderVisible(PortraitLastCreated(), false);
PortraitSetFullscreen(PortraitLastCreated(), true);
DialogCreate(1400, 400, c_anchorBottom, 0, 400, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:10381
PortraitSetBackgroundVisible(PortraitLastCreated(), false);
PortraitSetBorderVisible(PortraitLastCreated(), false);
PortraitSetFullscreen(PortraitLastCreated(), true);
DialogCreate(1400, 400, c_anchorBottom, 0, 400, false);
gv_zPlanetPanel_DialogSubtitle = DialogLastCreated();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:13373
lv_cameraString = lp_camera;
PortraitCreate(0, 0, c_anchorCenter, lv_width, lv_height, lp_model, lv_cameraString, "Default", true, false);
PortraitSetOffscreen(PortraitLastCreated(), true);
if ((lp_attachToScreenNow == true)) {
PortraitSetChannel(PortraitLastCreated(), lv_channel);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:13375
PortraitSetOffscreen(PortraitLastCreated(), true);
if ((lp_attachToScreenNow == true)) {
PortraitSetChannel(PortraitLastCreated(), lv_channel);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:1272
DialogSetVisible(gv_replay_Transmission_Dialog_Main, PlayerGroupAll(), false);
PortraitCreate(-324, -131, c_anchorCenter, 260, 365, null, "", "", false, true);
gv_cinematicWindow = PortraitLastCreated();
PortraitSetBorderVisible(PortraitLastCreated(), false);
PortraitSetModel(gv_cinematicWindow, "AdjutantPortrait_L", false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:1273
PortraitCreate(-324, -131, c_anchorCenter, 260, 365, null, "", "", false, true);
gv_cinematicWindow = PortraitLastCreated();
PortraitSetBorderVisible(PortraitLastCreated(), false);
PortraitSetModel(gv_cinematicWindow, "AdjutantPortrait_L", false);
PortraitSetVisible(gv_cinematicWindow, PlayerGroupAll(), true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:7131
GameSetLighting("VC_Zeratul2_Planet", 0.0);
PortraitCreate(0, 0, c_anchorCenter, 237, 360, "VC_Zeratul2_Planet", "", "", false, false);
gv_victoryCinematicPortrait = PortraitLastCreated();
PortraitWaitForLoad(PortraitLastCreated());
PortraitSetFullscreen(PortraitLastCreated(), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:7132
PortraitCreate(0, 0, c_anchorCenter, 237, 360, "VC_Zeratul2_Planet", "", "", false, false);
gv_victoryCinematicPortrait = PortraitLastCreated();
PortraitWaitForLoad(PortraitLastCreated());
PortraitSetFullscreen(PortraitLastCreated(), true);
PortraitSetLight(PortraitLastCreated(), "VC_Zeratul2_Planet");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:7133
gv_victoryCinematicPortrait = PortraitLastCreated();
PortraitWaitForLoad(PortraitLastCreated());
PortraitSetFullscreen(PortraitLastCreated(), true);
PortraitSetLight(PortraitLastCreated(), "VC_Zeratul2_Planet");
libNtve_gf_PortraitSetAnim(PortraitLastCreated(), "Stand A", "TriggerPortraitAnim", c_animFlagPlayForever, c_animTimeDefault);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:7134
PortraitWaitForLoad(PortraitLastCreated());
PortraitSetFullscreen(PortraitLastCreated(), true);
PortraitSetLight(PortraitLastCreated(), "VC_Zeratul2_Planet");
libNtve_gf_PortraitSetAnim(PortraitLastCreated(), "Stand A", "TriggerPortraitAnim", c_animFlagPlayForever, c_animTimeDefault);
PortraitSetBorderVisible(PortraitLastCreated(), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:7135
PortraitSetFullscreen(PortraitLastCreated(), true);
PortraitSetLight(PortraitLastCreated(), "VC_Zeratul2_Planet");
libNtve_gf_PortraitSetAnim(PortraitLastCreated(), "Stand A", "TriggerPortraitAnim", c_animFlagPlayForever, c_animTimeDefault);
PortraitSetBorderVisible(PortraitLastCreated(), false);
Wait(1.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:7136
PortraitSetLight(PortraitLastCreated(), "VC_Zeratul2_Planet");
libNtve_gf_PortraitSetAnim(PortraitLastCreated(), "Stand A", "TriggerPortraitAnim", c_animFlagPlayForever, c_animTimeDefault);
PortraitSetBorderVisible(PortraitLastCreated(), false);
Wait(1.0, c_timeGame);
PortraitSetVisible(PortraitLastCreated(), PlayerGroupAll(), true, false);
campaigns/liberty.sc2campaign — base.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.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:7142
// Transmission - SoundLink("TZeratul02Preserver200040", 0)
libCamp_gf_SendTransmissionCampaign(null, SoundLink("TZeratul02Preserver200040", 0), c_transmissionDurationAdd, 0.0, true);
libNtve_gf_PortraitSetAnim(PortraitLastCreated(), "Stand B", "TriggerPortraitAnim", c_animFlagPlayForever, c_animTimeDefault);
// Transmission - SoundLink("TZeratul02Preserver300041", 0)
libCamp_gf_SendTransmissionCampaign(null, SoundLink("TZeratul02Preserver300041", 0), c_transmissionDurationAdd, 0.0, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:7147
// Transmission - SoundLink("TZeratul02Preserver100042", 0)
libCamp_gf_SendTransmissionCampaign(null, SoundLink("TZeratul02Preserver100042", 0), c_transmissionDurationAdd, 0.0, true);
libNtve_gf_PortraitSetAnim(PortraitLastCreated(), "Stand C", "TriggerPortraitAnim", c_animFlagPlayForever, c_animTimeDefault);
// Transmission - SoundLink("TZeratul02Preserver200043", 0)
libCamp_gf_SendTransmissionCampaign(null, SoundLink("TZeratul02Preserver200043", 0), c_transmissionDurationAdd, 0.0, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:7150
// Transmission - SoundLink("TZeratul02Preserver200043", 0)
libCamp_gf_SendTransmissionCampaign(null, SoundLink("TZeratul02Preserver200043", 0), c_transmissionDurationAdd, 0.0, true);
libNtve_gf_PortraitSetAnim(PortraitLastCreated(), "Stand D", "TriggerPortraitAnim", c_animFlagPlayForever | c_animFlagNonLooping, c_animTimeDefault);
// Transmission - SoundLink("TZeratul02Preserver300062", 0)
libCamp_gf_SendTransmissionCampaign(null, SoundLink("TZeratul02Preserver300062", 0), c_transmissionDurationAdd, 0.0, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:6718
GameSetLighting("PlanetViewUlnar", 0.0);
PortraitCreate(0, 0, c_anchorCenter, 237, 360, "VC_Zeratul4_Fade", "", "", false, true);
gv_victoryPortrait = PortraitLastCreated();
PortraitSetLight(gv_victoryPortrait, "PlanetViewUlnar");
PortraitSetBorderVisible(gv_victoryPortrait, false);
campaigns/liberty.sc2campaign/base.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.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:8527
DialogControlFadeTransparency(DialogControlLastCreated(), PlayerGroupAll(), 2.0, 0.0);
Wait(2.0, c_timeGame);
PortraitDestroy(PortraitLastCreated());
DialogDestroy(DialogLastCreated());
UISetWorldVisible(PlayerGroupAll(), true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:10373
gv_zPlanetPanel_Created = true;
PortraitCreate(0, 0, c_anchorCenter, 237, 360, null, "", "Stand", false, true);
gv_zPlanetPanel_PortraitPlanet = PortraitLastCreated();
PortraitSetBackgroundVisible(PortraitLastCreated(), false);
PortraitSetBorderVisible(PortraitLastCreated(), false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:10374
PortraitCreate(0, 0, c_anchorCenter, 237, 360, null, "", "Stand", false, true);
gv_zPlanetPanel_PortraitPlanet = PortraitLastCreated();
PortraitSetBackgroundVisible(PortraitLastCreated(), false);
PortraitSetBorderVisible(PortraitLastCreated(), false);
PortraitSetFullscreen(PortraitLastCreated(), true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:10375
gv_zPlanetPanel_PortraitPlanet = PortraitLastCreated();
PortraitSetBackgroundVisible(PortraitLastCreated(), false);
PortraitSetBorderVisible(PortraitLastCreated(), false);
PortraitSetFullscreen(PortraitLastCreated(), true);
PortraitCreate(0, 0, c_anchorCenter, 237, 360, "SMZeratulMissionSelectBorder", "", "Stand", false, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:10376
PortraitSetBackgroundVisible(PortraitLastCreated(), false);
PortraitSetBorderVisible(PortraitLastCreated(), false);
PortraitSetFullscreen(PortraitLastCreated(), true);
PortraitCreate(0, 0, c_anchorCenter, 237, 360, "SMZeratulMissionSelectBorder", "", "Stand", false, true);
gv_zPlanetPanel_PortraitBorder = PortraitLastCreated();
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:10378
PortraitSetFullscreen(PortraitLastCreated(), true);
PortraitCreate(0, 0, c_anchorCenter, 237, 360, "SMZeratulMissionSelectBorder", "", "Stand", false, true);
gv_zPlanetPanel_PortraitBorder = PortraitLastCreated();
PortraitSetBackgroundVisible(PortraitLastCreated(), false);
PortraitSetBorderVisible(PortraitLastCreated(), false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:10379
PortraitCreate(0, 0, c_anchorCenter, 237, 360, "SMZeratulMissionSelectBorder", "", "Stand", false, true);
gv_zPlanetPanel_PortraitBorder = PortraitLastCreated();
PortraitSetBackgroundVisible(PortraitLastCreated(), false);
PortraitSetBorderVisible(PortraitLastCreated(), false);
PortraitSetFullscreen(PortraitLastCreated(), true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:10380
gv_zPlanetPanel_PortraitBorder = PortraitLastCreated();
PortraitSetBackgroundVisible(PortraitLastCreated(), false);
PortraitSetBorderVisible(PortraitLastCreated(), false);
PortraitSetFullscreen(PortraitLastCreated(), true);
DialogCreate(1400, 400, c_anchorBottom, 0, 400, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:10381
PortraitSetBackgroundVisible(PortraitLastCreated(), false);
PortraitSetBorderVisible(PortraitLastCreated(), false);
PortraitSetFullscreen(PortraitLastCreated(), true);
DialogCreate(1400, 400, c_anchorBottom, 0, 400, false);
gv_zPlanetPanel_DialogSubtitle = DialogLastCreated();
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:13373
lv_cameraString = lp_camera;
PortraitCreate(0, 0, c_anchorCenter, lv_width, lv_height, lp_model, lv_cameraString, "Default", true, false);
PortraitSetOffscreen(PortraitLastCreated(), true);
if ((lp_attachToScreenNow == true)) {
PortraitSetChannel(PortraitLastCreated(), lv_channel);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:13375
PortraitSetOffscreen(PortraitLastCreated(), true);
if ((lp_attachToScreenNow == true)) {
PortraitSetChannel(PortraitLastCreated(), lv_channel);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:1272
DialogSetVisible(gv_replay_Transmission_Dialog_Main, PlayerGroupAll(), false);
PortraitCreate(-324, -131, c_anchorCenter, 260, 365, null, "", "", false, true);
gv_cinematicWindow = PortraitLastCreated();
PortraitSetBorderVisible(PortraitLastCreated(), false);
PortraitSetModel(gv_cinematicWindow, "AdjutantPortrait_L", false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:1273
PortraitCreate(-324, -131, c_anchorCenter, 260, 365, null, "", "", false, true);
gv_cinematicWindow = PortraitLastCreated();
PortraitSetBorderVisible(PortraitLastCreated(), false);
PortraitSetModel(gv_cinematicWindow, "AdjutantPortrait_L", false);
PortraitSetVisible(gv_cinematicWindow, PlayerGroupAll(), true, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2map — MapScript.galaxy:7131
GameSetLighting("VC_Zeratul2_Planet", 0.0);
PortraitCreate(0, 0, c_anchorCenter, 237, 360, "VC_Zeratul2_Planet", "", "", false, false);
gv_victoryCinematicPortrait = PortraitLastCreated();
PortraitWaitForLoad(PortraitLastCreated());
PortraitSetFullscreen(PortraitLastCreated(), true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2map — MapScript.galaxy:7132
PortraitCreate(0, 0, c_anchorCenter, 237, 360, "VC_Zeratul2_Planet", "", "", false, false);
gv_victoryCinematicPortrait = PortraitLastCreated();
PortraitWaitForLoad(PortraitLastCreated());
PortraitSetFullscreen(PortraitLastCreated(), true);
PortraitSetLight(PortraitLastCreated(), "VC_Zeratul2_Planet");
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2map — MapScript.galaxy:7133
gv_victoryCinematicPortrait = PortraitLastCreated();
PortraitWaitForLoad(PortraitLastCreated());
PortraitSetFullscreen(PortraitLastCreated(), true);
PortraitSetLight(PortraitLastCreated(), "VC_Zeratul2_Planet");
libNtve_gf_PortraitSetAnim(PortraitLastCreated(), "Stand A", "TriggerPortraitAnim", c_animFlagPlayForever, c_animTimeDefault);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2map — MapScript.galaxy:7134
PortraitWaitForLoad(PortraitLastCreated());
PortraitSetFullscreen(PortraitLastCreated(), true);
PortraitSetLight(PortraitLastCreated(), "VC_Zeratul2_Planet");
libNtve_gf_PortraitSetAnim(PortraitLastCreated(), "Stand A", "TriggerPortraitAnim", c_animFlagPlayForever, c_animTimeDefault);
PortraitSetBorderVisible(PortraitLastCreated(), false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2map — MapScript.galaxy:7135
PortraitSetFullscreen(PortraitLastCreated(), true);
PortraitSetLight(PortraitLastCreated(), "VC_Zeratul2_Planet");
libNtve_gf_PortraitSetAnim(PortraitLastCreated(), "Stand A", "TriggerPortraitAnim", c_animFlagPlayForever, c_animTimeDefault);
PortraitSetBorderVisible(PortraitLastCreated(), false);
Wait(1.0, c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2map — MapScript.galaxy:7136
PortraitSetLight(PortraitLastCreated(), "VC_Zeratul2_Planet");
libNtve_gf_PortraitSetAnim(PortraitLastCreated(), "Stand A", "TriggerPortraitAnim", c_animFlagPlayForever, c_animTimeDefault);
PortraitSetBorderVisible(PortraitLastCreated(), false);
Wait(1.0, c_timeGame);
PortraitSetVisible(PortraitLastCreated(), PlayerGroupAll(), true, false);
campaigns/liberty.sc2campaign/base.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.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2map — MapScript.galaxy:7142
// Transmission - SoundLink("TZeratul02Preserver200040", 0)
libCamp_gf_SendTransmissionCampaign(null, SoundLink("TZeratul02Preserver200040", 0), c_transmissionDurationAdd, 0.0, true);
libNtve_gf_PortraitSetAnim(PortraitLastCreated(), "Stand B", "TriggerPortraitAnim", c_animFlagPlayForever, c_animTimeDefault);
// Transmission - SoundLink("TZeratul02Preserver300041", 0)
libCamp_gf_SendTransmissionCampaign(null, SoundLink("TZeratul02Preserver300041", 0), c_transmissionDurationAdd, 0.0, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2map — MapScript.galaxy:7147
// Transmission - SoundLink("TZeratul02Preserver100042", 0)
libCamp_gf_SendTransmissionCampaign(null, SoundLink("TZeratul02Preserver100042", 0), c_transmissionDurationAdd, 0.0, true);
libNtve_gf_PortraitSetAnim(PortraitLastCreated(), "Stand C", "TriggerPortraitAnim", c_animFlagPlayForever, c_animTimeDefault);
// Transmission - SoundLink("TZeratul02Preserver200043", 0)
libCamp_gf_SendTransmissionCampaign(null, SoundLink("TZeratul02Preserver200043", 0), c_transmissionDurationAdd, 0.0, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2map — MapScript.galaxy:7150
// Transmission - SoundLink("TZeratul02Preserver200043", 0)
libCamp_gf_SendTransmissionCampaign(null, SoundLink("TZeratul02Preserver200043", 0), c_transmissionDurationAdd, 0.0, true);
libNtve_gf_PortraitSetAnim(PortraitLastCreated(), "Stand D", "TriggerPortraitAnim", c_animFlagPlayForever | c_animFlagNonLooping, c_animTimeDefault);
// Transmission - SoundLink("TZeratul02Preserver300062", 0)
libCamp_gf_SendTransmissionCampaign(null, SoundLink("TZeratul02Preserver300062", 0), c_transmissionDurationAdd, 0.0, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul04.sc2map — MapScript.galaxy:6718
GameSetLighting("PlanetViewUlnar", 0.0);
PortraitCreate(0, 0, c_anchorCenter, 237, 360, "VC_Zeratul4_Fade", "", "", false, true);
gv_victoryPortrait = PortraitLastCreated();
PortraitSetLight(gv_victoryPortrait, "PlanetViewUlnar");
PortraitSetBorderVisible(gv_victoryPortrait, false);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:1502
if ((libSwaC_gv_zS_PlanetPortrait == c_invalidPortraitId)) {
PortraitCreate(0, 0, c_anchorTopLeft, 50, 50, lp_model, "", "Default", false, false);
libSwaC_gv_zS_PlanetPortrait = PortraitLastCreated();
PortraitSetOffscreen(libSwaC_gv_zS_PlanetPortrait, true);
PortraitSetBackgroundVisible(libSwaC_gv_zS_PlanetPortrait, false);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:1506
PortraitSetBackgroundVisible(libSwaC_gv_zS_PlanetPortrait, false);
PortraitSetBorderVisible(libSwaC_gv_zS_PlanetPortrait, false);
PortraitUseTransition(PortraitLastCreated(), false);
PortraitWaitForLoad(libSwaC_gv_zS_PlanetPortrait);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:2008
if ((libVCMI_gv_pM_PlanetPortrait == c_invalidPortraitId)) {
PortraitCreate(0, 0, c_anchorTopLeft, 50, 50, lp_model, "", "Default", false, false);
libVCMI_gv_pM_PlanetPortrait = PortraitLastCreated();
PortraitSetOffscreen(libVCMI_gv_pM_PlanetPortrait, true);
PortraitSetBackgroundVisible(libVCMI_gv_pM_PlanetPortrait, false);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:2012
PortraitSetBackgroundVisible(libVCMI_gv_pM_PlanetPortrait, false);
PortraitSetBorderVisible(libVCMI_gv_pM_PlanetPortrait, false);
PortraitUseTransition(PortraitLastCreated(), false);
PortraitWaitForLoad(libVCMI_gv_pM_PlanetPortrait);
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:4098
PortraitCreate(lv_offsetX, lv_offsetY, lv_anchor, lv_width, lv_height, null, "Dflt", "", true, true);
libNtve_gv_cinematicPortraits[lv_index] = PortraitLastCreated();
PortraitSetBorderVisible(libNtve_gv_cinematicPortraits[lv_index], true);
PortraitUseTransition(libNtve_gv_cinematicPortraits[lv_index], true);
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:4148
PortraitCreate(0, 0, c_anchorCenter, 0, 0, null, "Dflt", "", true, true);
libNtve_gv_cinematicPortraits[lv_index] = PortraitLastCreated();
PortraitSetFullscreen(libNtve_gv_cinematicPortraits[lv_index], true);
PortraitSetBorderVisible(libNtve_gv_cinematicPortraits[lv_index], false);
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:3397
PortraitCreate(lv_offsetX, lv_offsetY, lv_anchor, lv_width, lv_height, null, "Dflt", "", true, true);
libNtve_gv_cinematicPortraits[lv_index] = PortraitLastCreated();
PortraitSetBorderVisible(libNtve_gv_cinematicPortraits[lv_index], true);
PortraitUseTransition(libNtve_gv_cinematicPortraits[lv_index], true);
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:3447
PortraitCreate(0, 0, c_anchorCenter, 0, 0, null, "Dflt", "", true, true);
libNtve_gv_cinematicPortraits[lv_index] = PortraitLastCreated();
PortraitSetFullscreen(libNtve_gv_cinematicPortraits[lv_index], true);
PortraitSetBorderVisible(libNtve_gv_cinematicPortraits[lv_index], false);
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCMI.galaxy:2688
if ((libNCMI_gv_NM_PlanetPortrait == c_invalidPortraitId)) {
PortraitCreate(0, 0, c_anchorTopLeft, 50, 50, lp_model, "", "Default", false, false);
libNCMI_gv_NM_PlanetPortrait = PortraitLastCreated();
PortraitSetOffscreen(libNCMI_gv_NM_PlanetPortrait, true);
PortraitSetBackgroundVisible(libNCMI_gv_NM_PlanetPortrait, false);
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCMI.galaxy:2692
PortraitSetBackgroundVisible(libNCMI_gv_NM_PlanetPortrait, false);
PortraitSetBorderVisible(libNCMI_gv_NM_PlanetPortrait, false);
PortraitUseTransition(PortraitLastCreated(), false);
PortraitWaitForLoad(libNCMI_gv_NM_PlanetPortrait);
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:4035
if ((libNCST_gv_nS_DebugTimeCodeActive == false)) {
PortraitCreate(50, 0, c_anchorLeft, 237, 360, "DebugModel_TimecodePortrait", "", "Stand", true, true);
libNCST_gv_nS_DebugTimeCodePortrait = PortraitLastCreated();
libNCST_gv_nS_DebugTimeCodeActive = true;
}
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:1188
if ((libA3DDD02B_gv_pP_PlanetPortrait == c_invalidPortraitId)) {
PortraitCreate(0, 0, c_anchorTopLeft, 50, 50, lp_model, "", "Default", false, false);
libA3DDD02B_gv_pP_PlanetPortrait = PortraitLastCreated();
PortraitSetOffscreen(libA3DDD02B_gv_pP_PlanetPortrait, true);
PortraitSetBackgroundVisible(libA3DDD02B_gv_pP_PlanetPortrait, false);
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:1192
PortraitSetBackgroundVisible(libA3DDD02B_gv_pP_PlanetPortrait, false);
PortraitSetBorderVisible(libA3DDD02B_gv_pP_PlanetPortrait, false);
PortraitUseTransition(PortraitLastCreated(), false);
PortraitWaitForLoad(libA3DDD02B_gv_pP_PlanetPortrait);
}