# Dialog Item Portrait
Grammar — Get Portrait Id from dialogItem
Flags —Native
|Function
Converts a Dialog Item of type Portrait into a Portrait that can be used to send transmissions etc.
# Arguments
int
<control> — Dialog Item
Returns — int
<portrait>
native int PortraitGetTriggerControl(int inControlId);
# Related
Category: Portrait / Useful Portraits
- Cinematic Portrait —
int
<portrait> — libNtve_gf_CinematicPortrait - Hide All Cinematic Portraits —
void
— libNtve_gf_HideAllCinematicPortraits - Fullscreen Portrait —
int
<portrait> — libNtve_gf_FullscreenPortrait - Game Portrait —
int
<portrait> — PortraitGetGame - Planet Panel Portrait —
int
<portrait> — PortraitGetPlanetPanel - Dialog Item Portrait —
int
<portrait> — PortraitGetTriggerControl
# Examples
campaigns/swarmstory.sc2campaign — base.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");
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:3384
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");
libNtve_gf_PortraitSetAnim(PortraitGetTriggerControl(libSwaC_gv_zS_SwarmHeroUIDialogLevelupPortrait[1]), "Birth", "TriggerPortraitAnim", 0, 0.0);
Wait(2.0, c_timeGame);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:3385
DialogControlSetVisible(libSwaC_gv_zS_SwarmHeroUIDialogLevelupPortrait[1], PlayerGroupAll(), true);
ActorSend(ActorFromPortrait(PortraitGetTriggerControl(libSwaC_gv_zS_SwarmHeroUIDialogLevelupPortrait[1])), "AnimBlendTimeApply 0.000000");
libNtve_gf_PortraitSetAnim(PortraitGetTriggerControl(libSwaC_gv_zS_SwarmHeroUIDialogLevelupPortrait[1]), "Birth", "TriggerPortraitAnim", 0, 0.0);
Wait(2.0, c_timeGame);
DialogControlSetVisible(libSwaC_gv_zS_SwarmHeroUIDialogLevelupPortrait[1], PlayerGroupAll(), false);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:7417
DialogControlHookup(libSwaC_gv_zS_ArmyCustomEggRoomPanel, c_triggerControlTypePortrait, "EvolutionButtonPortrait");
libSwaC_gv_zS_ArmyCustomEggRoomEvolutionButtonHighlight = DialogControlLastCreated();
PortraitSetModel(PortraitGetTriggerControl(libSwaC_gv_zS_ArmyCustomEggRoomEvolutionButtonHighlight), "EvolutionButtonHighlight", true);
DialogSetVisible(libSwaC_gv_zS_ArmyCustomEggRoomDialog, PlayerGroupAll(), true);
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:8528
libSwaC_gv_zS_ArmyCustomUpgradeButtons2[lv_index] = DialogControlLastCreated();
libNtve_gf_SetDialogItemModel(DialogControlLastCreated(), "SMX1_ArmyMutationConfirmationButtonEffect", PlayerGroupAll());
PortraitSetActor(PortraitGetTriggerControl(DialogControlLastCreated()), "PortraitActorWithDeath");
ActorSend(ActorFromPortrait(PortraitGetTriggerControl(DialogControlLastCreated())), "SetVisibility");
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:8529
libNtve_gf_SetDialogItemModel(DialogControlLastCreated(), "SMX1_ArmyMutationConfirmationButtonEffect", PlayerGroupAll());
PortraitSetActor(PortraitGetTriggerControl(DialogControlLastCreated()), "PortraitActorWithDeath");
ActorSend(ActorFromPortrait(PortraitGetTriggerControl(DialogControlLastCreated())), "SetVisibility");
}
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:8542
if ((libSwaC_gv_zS_ArmyCustomUpgradeCurrent == lv_indexUpgrade)) {
DialogControlSetVisible(libSwaC_gv_zS_ArmyCustomUpgradeButtons2[lv_index], PlayerGroupAll(), true);
ActorSend(ActorFromPortrait(PortraitGetTriggerControl(libSwaC_gv_zS_ArmyCustomUpgradeButtons2[lv_index])), "Signal Birth");
}
else {
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:8546
else {
DialogControlSetVisible(libSwaC_gv_zS_ArmyCustomUpgradeButtons2[lv_index], PlayerGroupAll(), false);
ActorSend(ActorFromPortrait(PortraitGetTriggerControl(libSwaC_gv_zS_ArmyCustomUpgradeButtons2[lv_index])), "Signal Death");
}
auto3A414717_ai = auto3A414717_ai + 1;
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:9498
autoC0F182A6_ai = autoC0F182A6_ai + 1;
}
PortraitSetModel(PortraitGetTriggerControl(libSwaC_gv_zS_ArmyCustomMissionContactPortrait), "EvolutionMasterPortrait3D", true);
PortraitSetActor(PortraitGetTriggerControl(libSwaC_gv_zS_ArmyCustomMissionContactPortrait), "EvolutionMasterPortrait3D");
DialogControlSetVisible(libSwaC_gv_zS_ArmyCustomMissionContactPortrait, PlayerGroupAll(), true);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:9499
}
PortraitSetModel(PortraitGetTriggerControl(libSwaC_gv_zS_ArmyCustomMissionContactPortrait), "EvolutionMasterPortrait3D", true);
PortraitSetActor(PortraitGetTriggerControl(libSwaC_gv_zS_ArmyCustomMissionContactPortrait), "EvolutionMasterPortrait3D");
DialogControlSetVisible(libSwaC_gv_zS_ArmyCustomMissionContactPortrait, PlayerGroupAll(), true);
libNtve_gf_SetDialogItemText(libSwaC_gv_zS_ArmyCustomMissionTitleLabel, StringExternal(CatalogFieldValueGet(c_gameCatalogMap, (libSwaC_gv_zS_ArmyCustomMissionMap), "MissionText", c_playerAny)), PlayerGroupAll());
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:1147
libNtve_gf_SetDialogItemText(lib281DEC45_gv_zSS_UITravelPlanetSelectedName[lv_index], libSwaC_gf_StoryPlanetName(lib281DEC45_gv_zSS_UITravelLocationLinks[IntLoopCurrent()]), PlayerGroupAll());
libNtve_gf_SetDialogItemTooltip(lib281DEC45_gv_zSS_UITravelPlanetSelectedBorder[lv_index], StringExternal(lib281DEC45_gf_ZSS_UITravelLocationProperty(IntLoopCurrent(), "PlanetToolTip")), PlayerGroupAll());
PortraitSetModel(PortraitGetTriggerControl(lib281DEC45_gv_zSS_UITravelPlanetPortrait[lv_index]), (lib281DEC45_gf_ZSS_UITravelLocationProperty(IntLoopCurrent(), "PlanetModel")), true);
}
else {
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:1389
}
if ((lib281DEC45_gv_zSS_UITravelBGPortrait != c_invalidDialogControlId) && (lib281DEC45_gv_zSS_UITravelSelectedPlanet != 0) && (DialogControlIsVisible(lib281DEC45_gv_zSS_UITravelBGPortrait, 1) == true)) {
PortraitWaitForLoad(PortraitGetTriggerControl(lib281DEC45_gv_zSS_UITravelBGPortrait));
}
else {
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:1394
}
if ((lib281DEC45_gv_zSS_UITravelSelectedPlanet != 0) && (DialogControlIsVisible(lib281DEC45_gv_zSS_UITravelContactPortrait, 1) == true)) {
PortraitWaitForLoad(PortraitGetTriggerControl(lib281DEC45_gv_zSS_UITravelContactPortrait));
}
else {
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:1438
DialogControlSetVisible(lib281DEC45_gv_zSS_UITravelUnitRewardFrame, PlayerGroupAll(), false);
if ((lib281DEC45_gv_zSS_UITravelUseTerranPitch == true)) {
PortraitSetModel(PortraitGetTriggerControl(lib281DEC45_gv_zSS_UITravelContactPortrait), "AdjutantPortrait_L3D", false);
}
else {
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:1441
}
else {
PortraitSetModel(PortraitGetTriggerControl(lib281DEC45_gv_zSS_UITravelContactPortrait), (lib281DEC45_gf_ZSS_UITravelLocationProperty(lp_planetIndex, "ContactModel")), false);
if ((lib281DEC45_gf_ZSS_UITravelLocationProperty(lp_planetIndex, "ContactActor") == "")) {
PortraitSetActor(PortraitGetTriggerControl(lib281DEC45_gv_zSS_UITravelContactPortrait), "PortraitActor");
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:1443
PortraitSetModel(PortraitGetTriggerControl(lib281DEC45_gv_zSS_UITravelContactPortrait), (lib281DEC45_gf_ZSS_UITravelLocationProperty(lp_planetIndex, "ContactModel")), false);
if ((lib281DEC45_gf_ZSS_UITravelLocationProperty(lp_planetIndex, "ContactActor") == "")) {
PortraitSetActor(PortraitGetTriggerControl(lib281DEC45_gv_zSS_UITravelContactPortrait), "PortraitActor");
}
else {
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:1446
}
else {
PortraitSetActor(PortraitGetTriggerControl(lib281DEC45_gv_zSS_UITravelContactPortrait), (lib281DEC45_gf_ZSS_UITravelLocationProperty(lp_planetIndex, "ContactActor")));
}
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:1455
}
else {
PortraitSetModel(PortraitGetTriggerControl(lib281DEC45_gv_zSS_UITravelBGPortrait), (lib281DEC45_gf_ZSS_UITravelLocationProperty(lp_planetIndex, "BackgroundModel")), false);
}
lv_unitFrameIndex = 0;
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:1560
lib281DEC45_gf_ZSS_UIMissionUpdate();
if ((lib281DEC45_gf_ZSS_UIMissionProperty("ContactActor") == "")) {
PortraitSetActor(PortraitGetTriggerControl(lib281DEC45_gv_zSS_MissionContactPortrait), "PortraitActor");
}
else {
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:1563
}
else {
PortraitSetActor(PortraitGetTriggerControl(lib281DEC45_gv_zSS_MissionContactPortrait), (lib281DEC45_gf_ZSS_UIMissionProperty("ContactActor")));
}
if ((libSwaC_gf_StoryInSimulation() == false) && (lib281DEC45_gv_zSS_MissionPitchPlayed == false) && (lib281DEC45_gv_zSS_Preloading == false)) {
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:910
libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[3], false, PlayerGroupAll());
libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[4], false, PlayerGroupAll());
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[1]), false);
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[1]), Color(100.00, 100.00, 100.00));
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[2]), true);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:911
libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[4], false, PlayerGroupAll());
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[1]), false);
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[1]), Color(100.00, 100.00, 100.00));
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[2]), true);
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[2]), Color(40.00, 40.00, 40.00));
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:912
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[1]), false);
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[1]), Color(100.00, 100.00, 100.00));
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[2]), true);
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[2]), Color(40.00, 40.00, 40.00));
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[3]), true);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:913
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[1]), Color(100.00, 100.00, 100.00));
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[2]), true);
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[2]), Color(40.00, 40.00, 40.00));
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[3]), true);
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[3]), Color(40.00, 40.00, 40.00));
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:914
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[2]), true);
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[2]), Color(40.00, 40.00, 40.00));
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[3]), true);
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[3]), Color(40.00, 40.00, 40.00));
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[4]), true);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:915
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[2]), Color(40.00, 40.00, 40.00));
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[3]), true);
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[3]), Color(40.00, 40.00, 40.00));
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[4]), true);
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[4]), Color(40.00, 40.00, 40.00));
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:916
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[3]), true);
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[3]), Color(40.00, 40.00, 40.00));
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[4]), true);
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[4]), Color(40.00, 40.00, 40.00));
libNtve_gf_SetDialogItemText(gv_victoryUI_StageNumber, StringExternal("UI/TutorialStage1Number"), PlayerGroupAll());
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:917
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[3]), Color(40.00, 40.00, 40.00));
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[4]), true);
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[4]), Color(40.00, 40.00, 40.00));
libNtve_gf_SetDialogItemText(gv_victoryUI_StageNumber, StringExternal("UI/TutorialStage1Number"), PlayerGroupAll());
libNtve_gf_SetDialogItemText(gv_victoryUI_StageName, StringExternal("UI/TutorialStage1Name"), PlayerGroupAll());
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:948
libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[3], false, PlayerGroupAll());
libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[4], false, PlayerGroupAll());
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[1]), true);
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[1]), Color(40.00, 40.00, 40.00));
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[2]), false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:949
libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[4], false, PlayerGroupAll());
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[1]), true);
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[1]), Color(40.00, 40.00, 40.00));
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[2]), false);
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[2]), Color(100.00, 100.00, 100.00));
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:910
libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[3], false, PlayerGroupAll());
libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[4], false, PlayerGroupAll());
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[1]), false);
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[1]), Color(100.00, 100.00, 100.00));
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[2]), true);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:911
libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[4], false, PlayerGroupAll());
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[1]), false);
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[1]), Color(100.00, 100.00, 100.00));
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[2]), true);
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[2]), Color(40.00, 40.00, 40.00));
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:912
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[1]), false);
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[1]), Color(100.00, 100.00, 100.00));
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[2]), true);
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[2]), Color(40.00, 40.00, 40.00));
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[3]), true);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:913
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[1]), Color(100.00, 100.00, 100.00));
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[2]), true);
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[2]), Color(40.00, 40.00, 40.00));
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[3]), true);
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[3]), Color(40.00, 40.00, 40.00));
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:914
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[2]), true);
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[2]), Color(40.00, 40.00, 40.00));
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[3]), true);
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[3]), Color(40.00, 40.00, 40.00));
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[4]), true);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:915
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[2]), Color(40.00, 40.00, 40.00));
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[3]), true);
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[3]), Color(40.00, 40.00, 40.00));
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[4]), true);
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[4]), Color(40.00, 40.00, 40.00));
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:916
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[3]), true);
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[3]), Color(40.00, 40.00, 40.00));
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[4]), true);
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[4]), Color(40.00, 40.00, 40.00));
libNtve_gf_SetDialogItemText(gv_victoryUI_StageNumber, StringExternal("UI/TutorialStage1Number"), PlayerGroupAll());
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:917
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[3]), Color(40.00, 40.00, 40.00));
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[4]), true);
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[4]), Color(40.00, 40.00, 40.00));
libNtve_gf_SetDialogItemText(gv_victoryUI_StageNumber, StringExternal("UI/TutorialStage1Number"), PlayerGroupAll());
libNtve_gf_SetDialogItemText(gv_victoryUI_StageName, StringExternal("UI/TutorialStage1Name"), PlayerGroupAll());
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:948
libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[3], false, PlayerGroupAll());
libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[4], false, PlayerGroupAll());
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[1]), true);
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[1]), Color(40.00, 40.00, 40.00));
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[2]), false);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:949
libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[4], false, PlayerGroupAll());
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[1]), true);
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[1]), Color(40.00, 40.00, 40.00));
PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[2]), false);
PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[2]), Color(100.00, 100.00, 100.00));
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:1783
}
else {
ConversationDataRegisterPortrait(libVoiC_gf_PC_ClickableConversationLink(UserDataInstance("Clickable", lv_clickableIndex)), PortraitGetTriggerControl(libVCUI_gv_pU_MissionPortraitFrame));
}
ConversationDataRegisterUnit(libVoiC_gf_PC_ClickableConversationLink(UserDataInstance("Clickable", lv_clickableIndex)), null);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:5147
DialogSetImageVisible(DialogLastCreated(), false);
DialogControlCreateFromTemplate(DialogLastCreated(), c_triggerControlTypePortrait, "LotV_GameUI/SoAOverlayTemplate");
PortraitUseTransition(PortraitGetTriggerControl(DialogControlLastCreated()), false);
libNtve_gf_SetDialogItemModel(DialogControlLastCreated(), "SOA_Calldown_UI", PlayerGroupAll());
libVCUI_gv_pU_TargetingOverlayPortrait = DialogControlLastCreated();
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:887
libNtve_gf_SetDialogItemText(libNCUI_gv_nU_MissionPortraitTitle, lv_characterName, PlayerGroupAll());
libNtve_gf_SendTransmissionSimple(TransmissionSourceFromModel(SoundPortraitModel(SoundLink(lp_transmission, c_soundIndexAny))), PortraitGetTriggerControl(libNCUI_gv_nU_MissionPortrait), SoundLink(lp_transmission, c_soundIndexAny), 0.0, c_transmissionDurationAdd, false);
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:1016
libNtve_gf_SetDialogItemActor(libNCUI_gv_nU_MissionPortrait, libComC_gf_CC_MapContactActor(lp_mission), PlayerGroupAll());
}
ConversationDataRegisterPortrait("char_Nova", PortraitGetTriggerControl(libNCUI_gv_nU_MissionPortrait));
ConversationDataRegisterUnit("char_Nova", null);
if ((lp_mission == "Nova01")) {
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:5792
libNCUI_gv_nU_MissionUpgradesButtonAlwaysOff = true;
libNCUI_gf_NU_MissionEnableDisableUpgradesButton(false);
libNtve_gf_SendTransmissionSimple(TransmissionSourceFromModel(SoundPortraitModel(SoundLink(ConversationDataGetSound("Tutorial_ArmyUpgradeRoom3|Line00003", true), c_soundIndexAny))), PortraitGetTriggerControl(libNCUI_gv_nU_MissionPortrait), SoundLink(ConversationDataGetSound("Tutorial_ArmyUpgradeRoom3|Line00003", true), c_soundIndexAny), 0.0, c_transmissionDurationAdd, true);
}
else {
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOUI.galaxy:874
libCOUI_gv_cU_CommanderList[lv_commIndex] = lv_indexCommander;
PortraitSetModel(PortraitGetTriggerControl(libCOUI_gv_cU_CommanderButtonPortrait[lv_commIndex]), libCOOC_gf_CC_CommanderPortraitModel(libCOUI_gv_cU_CommanderList[lv_commIndex]), false);
if ((libCOOC_gf_CC_CommanderPortraitActor(libCOUI_gv_cU_CommanderList[lv_commIndex]) != null)) {
PortraitSetActor(PortraitGetTriggerControl(libCOUI_gv_cU_CommanderButtonPortrait[lv_commIndex]), libCOOC_gf_CC_CommanderPortraitActor(libCOUI_gv_cU_CommanderList[lv_commIndex]));
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOUI.galaxy:876
PortraitSetModel(PortraitGetTriggerControl(libCOUI_gv_cU_CommanderButtonPortrait[lv_commIndex]), libCOOC_gf_CC_CommanderPortraitModel(libCOUI_gv_cU_CommanderList[lv_commIndex]), false);
if ((libCOOC_gf_CC_CommanderPortraitActor(libCOUI_gv_cU_CommanderList[lv_commIndex]) != null)) {
PortraitSetActor(PortraitGetTriggerControl(libCOUI_gv_cU_CommanderButtonPortrait[lv_commIndex]), libCOOC_gf_CC_CommanderPortraitActor(libCOUI_gv_cU_CommanderList[lv_commIndex]));
}
else {
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOUI.galaxy:879
}
else {
PortraitSetActor(PortraitGetTriggerControl(libCOUI_gv_cU_CommanderButtonPortrait[lv_commIndex]), "PortraitActor");
}
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOUI.galaxy:5015
DialogSetImageVisible(DialogLastCreated(), false);
DialogControlCreateFromTemplate(DialogLastCreated(), c_triggerControlTypePortrait, "LotV_GameUI/SoAOverlayTemplate");
PortraitUseTransition(PortraitGetTriggerControl(DialogControlLastCreated()), false);
libNtve_gf_SetDialogItemModel(DialogControlLastCreated(), "SOA_Calldown_UI", PlayerGroupAll());
libCOUI_gv_cU_TargetingOverlayPortrait[lp_player] = DialogControlLastCreated();
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOUI.galaxy:5408
}
PortraitSetModel(PortraitGetTriggerControl(libCOUI_gv_cU_TychusSquadPortraits[lp_squadIndex]), UserDataGetModel("CoopTechTychusSquad", lp_squadInstance, "Portrait Model", 1), false);
PortraitSetActor(PortraitGetTriggerControl(libCOUI_gv_cU_TychusSquadPortraits[lp_squadIndex]), "PortraitActor");
libNtve_gf_SetDialogItemImage(libCOUI_gv_cU_TychusSquadPortraitsStatic[lp_squadIndex], UserDataGetImagePath("CoopTechTychusSquad", lp_squadInstance, "2D Portrait", 1), PlayerGroupAll());
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOUI.galaxy:5409
PortraitSetModel(PortraitGetTriggerControl(libCOUI_gv_cU_TychusSquadPortraits[lp_squadIndex]), UserDataGetModel("CoopTechTychusSquad", lp_squadInstance, "Portrait Model", 1), false);
PortraitSetActor(PortraitGetTriggerControl(libCOUI_gv_cU_TychusSquadPortraits[lp_squadIndex]), "PortraitActor");
libNtve_gf_SetDialogItemImage(libCOUI_gv_cU_TychusSquadPortraitsStatic[lp_squadIndex], UserDataGetImagePath("CoopTechTychusSquad", lp_squadInstance, "2D Portrait", 1), PlayerGroupAll());
DialogControlSetAnimationState(libCOUI_gv_cU_TychusSquadUnitFrames[lp_squadIndex], PlayerGroupAll(), "UnitState", (lp_squadInstance));
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:6846
libNtve_gf_SetDialogItemAchievement(libA3DDD02B_gv_pP_MLAchievements[lv_indexAchievement], UserDataGetGameLink("Maps", libA3DDD02B_gf_PP_MapUserDataInstance(lp_mission), "Achievements", lv_indexAchievement), PlayerGroupAll());
}
ConversationDataRegisterPortrait("char_RescuedTemplar", PortraitGetTriggerControl(libA3DDD02B_gv_pP_MLContactPortrait));
ConversationDataRegisterUnit("char_RescuedTemplar", null);
DialogClearSubtitlePositionOverride();