# Create Dialog
Grammar — Create a modal dialog of size (width, height) at (offsetX, offsetY) relative to anchor of screen
Flags —Native
|Action
Creates a dialog box of specified width, height, position on the screen with offsets
# Arguments
int
— Widthint
— Heightint
<preset::Anchor> — Anchorint
— OffsetXint
— OffsetYbool
<preset::ModalNonmodalOption> — Modal
Returns — int
<dialog>
native int DialogCreate(
int width,
int height,
int anchor,
int offsetX,
int offsetY,
bool modal,
);
# Related
Category: Dialog / Dialogs
- Create Dialog —
int
<dialog> — DialogCreate - Show/Hide Dialog —
void
— DialogSetVisible - Set Dialog Title —
void
— DialogSetTitle - Last Created Dialog —
int
<dialog> — DialogLastCreated - Dialog Is Visible —
bool
— DialogIsVisible - Dialog Title —
text
— DialogGetTitle
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:3546
libNtve_gf_SetDialogItemImage2(DialogControlLastCreated(), "Assets\\Textures\\ui_button_confirmation_normaloverpressedover_terran.dds", PlayerGroupAll());
libNtve_gf_SetDialogItemImageType(DialogControlLastCreated(), c_triggerImageTypeEndCap, PlayerGroupAll());
DialogCreate(1000, 100, c_anchorCenter, 0, 0, false);
lv_dlg2 = DialogLastCreated();
DialogSetPositionRelative(DialogLastCreated(), c_anchorTop, lv_dlg, c_anchorBottom, 0, -20);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:3578
// Implementation
DialogCreate((gv_bossHPBarWidth + 0), lv_barHight, c_anchorTopRight, 10, 10, false);
gv_bossHPBarDlg = DialogLastCreated();
DialogSetImageVisible(DialogLastCreated(), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:3601
DialogControlSetFullDialog(DialogControlLastCreated(), PlayerGroupAll(), true);
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(21.96, 79.61, 78.43), PlayerGroupAll());
DialogCreate(400, 30, c_anchorTopRight, 10, 10, false);
gv_bossHPBarLabelDlg = DialogLastCreated();
DialogSetImageVisible(DialogLastCreated(), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:3626
// Implementation
DialogCreate((gv_unitHPBarWidth + 0), lv_barHight, c_anchorTopRight, 10, 55, false);
gv_unitHPBarDlg = DialogLastCreated();
DialogSetImageVisible(DialogLastCreated(), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:3649
DialogControlSetFullDialog(DialogControlLastCreated(), PlayerGroupAll(), true);
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(21.96, 79.61, 78.43), PlayerGroupAll());
DialogCreate(400, 30, c_anchorTopRight, 10, 10, false);
gv_unitHPBarLabelDlg = DialogLastCreated();
DialogSetImageVisible(DialogLastCreated(), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:3678
// Implementation
DialogCreate(10, 10, c_anchorCenter, 0, 0, false);
gv_uI_Dlg = DialogLastCreated();
DialogSetFullscreen(DialogLastCreated(), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:3898
else {
}
DialogCreate(2119, 1200, c_anchorCenter, 0, 0, true);
gv_fadeDialog = DialogLastCreated();
DialogSetImageVisible(DialogLastCreated(), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:8496
UISetWorldVisible(PlayerGroupAll(), false);
UISetCursorVisible(PlayerGroupAll(), false);
DialogCreate(1, 1, c_anchorCenter, 0, 0, true);
DialogSetFullscreen(DialogLastCreated(), true);
DialogSetImageVisible(DialogLastCreated(), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2954
gv_computer01Active = true;
gv_terminalInUse = true;
DialogCreate(500, 400, c_anchorCenter, 0, 0, true);
TriggerExecute(gt_Computer01CameraButtonDisplay, true, false);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:2322
if ((lp_fadeIn == false)) {
if ((gv_customFadeDialog == c_invalidDialogId)) {
DialogCreate(1, 1, c_anchorCenter, 0, 0, false);
gv_customFadeDialog = DialogLastCreated();
DialogSetFullscreen(DialogLastCreated(), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:2609
// Implementation
gv_tBDWindowExitCallback = lp_exitCallback;
DialogCreate(800, 600, c_anchorCenter, 0, 0, true);
DialogSetPosition(DialogLastCreated(), c_anchorCenter, 0, 0);
gv_tBDWindowDialog = DialogLastCreated();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:3452
// Implementation
if ((gv_fullscreenImageDialog == c_invalidDialogId)) {
DialogCreate(2119, 1200, c_anchorCenter, 0, 0, true);
gv_fullscreenImageDialog = DialogLastCreated();
DialogSetImageVisible(DialogLastCreated(), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:3947
gv_armoryAnchor[7] = c_anchorBottom;
gv_armoryAnchor[8] = c_anchorBottomRight;
DialogCreate(1600, 1200, c_anchorCenter, 0, 0, false);
gv_armoryGradientDialog = DialogLastCreated();
DialogSetImageVisible(gv_armoryGradientDialog, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:4730
}
DialogCreate(100, 100, c_anchorCenter, -50, -50, true);
gv_roomCheatDialog = DialogLastCreated();
gf_RoomCheatAddButton(StringExternal("Param/Value/C6660181"));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:4809
}
DialogCreate(100, 100, c_anchorCenter, -50, -50, true);
gv_roomCameraDialog = DialogLastCreated();
gf_RoomCameraAddButton(StringExternal("Param/Value/5288E7CD"));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:5078
libNtve_gf_HideGameUI(false, PlayerGroupAll());
UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeCashPanel, false);
DialogCreate(2048, 1026, c_anchorCenter, 0, 0, true);
lv_dlgBG = DialogLastCreated();
DialogSetFullscreen(DialogLastCreated(), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:10382
PortraitSetBorderVisible(PortraitLastCreated(), false);
PortraitSetFullscreen(PortraitLastCreated(), true);
DialogCreate(1400, 400, c_anchorBottom, 0, 400, false);
gv_zPlanetPanel_DialogSubtitle = DialogLastCreated();
DialogSetTransparency(DialogLastCreated(), 100.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:10385
gv_zPlanetPanel_DialogSubtitle = DialogLastCreated();
DialogSetTransparency(DialogLastCreated(), 100.0);
DialogCreate(1, 1, c_anchorCenter, 0, 0, false);
gv_zPlanetPanel_DialogControl = DialogLastCreated();
DialogSetFullscreen(DialogLastCreated(), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:10670
}
DialogCreate(lp_width, lp_height, lp_anchor, lp_offsetX, lp_offsetY, true);
gv_introTextDialog = DialogLastCreated();
DialogSetImageVisible(DialogLastCreated(), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:1248
}
DialogCreate(210, 90, c_anchorLeft, 42, 160, true);
gv_tutorialDialog = DialogLastCreated();
DialogSetImageVisible(gv_tutorialDialog, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:1259
gf_FormatReplayTransmissionButton(gv_replay_Transmission_ButtonID_Tutorial);
DialogSetVisible(gv_replay_Transmission_Dialog_Tutorial, PlayerGroupAll(), false);
DialogCreate(1120, 1200, c_anchorCenter, 0, 0, true);
gv_mainDialog = DialogLastCreated();
DialogSetImageVisible(gv_mainDialog, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/economy.sc2map/MapScript.galaxy:434
}
DialogCreate(500, 400, c_anchorCenter, 0, 0, false);
DialogSetImageVisible(DialogLastCreated(), false);
DialogControlCreate(DialogLastCreated(), c_triggerControlTypeLabel);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/protosscombat.sc2map/MapScript.galaxy:1661
}
DialogCreate(500, 400, c_anchorCenter, 0, 0, false);
lv_racingStartDIALOG = DialogLastCreated();
DialogSetImageVisible(lv_racingStartDIALOG, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/protosspsionics.sc2map/MapScript.galaxy:965
}
DialogCreate(500, 400, c_anchorCenter, 0, 0, false);
lv_racingStartDIALOG = DialogLastCreated();
DialogSetImageVisible(lv_racingStartDIALOG, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/protosspsionics.sc2map/MapScript.galaxy:1002
}
DialogCreate(500, 400, c_anchorCenter, 0, 0, false);
lv_racingStartDIALOG = DialogLastCreated();
DialogSetImageVisible(lv_racingStartDIALOG, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/rushdefense.sc2map/MapScript.galaxy:530
}
DialogCreate(500, 400, c_anchorCenter, 0, 0, false);
lv_racingStartDIALOG = DialogLastCreated();
DialogSetImageVisible(lv_racingStartDIALOG, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/rushdefense.sc2map/MapScript.galaxy:792
}
DialogCreate(500, 400, c_anchorCenter, 0, 0, false);
lv_racingStartDIALOG = DialogLastCreated();
DialogSetImageVisible(lv_racingStartDIALOG, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/terrancombat.sc2map/MapScript.galaxy:1509
}
DialogCreate(500, 400, c_anchorCenter, 0, 0, false);
lv_racingStartDIALOG = DialogLastCreated();
DialogSetImageVisible(lv_racingStartDIALOG, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/zergcombat.sc2map/MapScript.galaxy:1570
}
DialogCreate(500, 400, c_anchorCenter, 0, 0, false);
lv_racingStartDIALOG = DialogLastCreated();
DialogSetImageVisible(lv_racingStartDIALOG, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:3546
libNtve_gf_SetDialogItemImage2(DialogControlLastCreated(), "Assets\\Textures\\ui_button_confirmation_normaloverpressedover_terran.dds", PlayerGroupAll());
libNtve_gf_SetDialogItemImageType(DialogControlLastCreated(), c_triggerImageTypeEndCap, PlayerGroupAll());
DialogCreate(1000, 100, c_anchorCenter, 0, 0, false);
lv_dlg2 = DialogLastCreated();
DialogSetPositionRelative(DialogLastCreated(), c_anchorTop, lv_dlg, c_anchorBottom, 0, -20);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:3578
// Implementation
DialogCreate((gv_bossHPBarWidth + 0), lv_barHight, c_anchorTopRight, 10, 10, false);
gv_bossHPBarDlg = DialogLastCreated();
DialogSetImageVisible(DialogLastCreated(), false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:3601
DialogControlSetFullDialog(DialogControlLastCreated(), PlayerGroupAll(), true);
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(21.96, 79.61, 78.43), PlayerGroupAll());
DialogCreate(400, 30, c_anchorTopRight, 10, 10, false);
gv_bossHPBarLabelDlg = DialogLastCreated();
DialogSetImageVisible(DialogLastCreated(), false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:3626
// Implementation
DialogCreate((gv_unitHPBarWidth + 0), lv_barHight, c_anchorTopRight, 10, 55, false);
gv_unitHPBarDlg = DialogLastCreated();
DialogSetImageVisible(DialogLastCreated(), false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:3649
DialogControlSetFullDialog(DialogControlLastCreated(), PlayerGroupAll(), true);
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(21.96, 79.61, 78.43), PlayerGroupAll());
DialogCreate(400, 30, c_anchorTopRight, 10, 10, false);
gv_unitHPBarLabelDlg = DialogLastCreated();
DialogSetImageVisible(DialogLastCreated(), false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:3678
// Implementation
DialogCreate(10, 10, c_anchorCenter, 0, 0, false);
gv_uI_Dlg = DialogLastCreated();
DialogSetFullscreen(DialogLastCreated(), true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:3898
else {
}
DialogCreate(2119, 1200, c_anchorCenter, 0, 0, true);
gv_fadeDialog = DialogLastCreated();
DialogSetImageVisible(DialogLastCreated(), false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:8496
UISetWorldVisible(PlayerGroupAll(), false);
UISetCursorVisible(PlayerGroupAll(), false);
DialogCreate(1, 1, c_anchorCenter, 0, 0, true);
DialogSetFullscreen(DialogLastCreated(), true);
DialogSetImageVisible(DialogLastCreated(), false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2map — MapScript.galaxy:2954
gv_computer01Active = true;
gv_terminalInUse = true;
DialogCreate(500, 400, c_anchorCenter, 0, 0, true);
TriggerExecute(gt_Computer01CameraButtonDisplay, true, false);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:2322
if ((lp_fadeIn == false)) {
if ((gv_customFadeDialog == c_invalidDialogId)) {
DialogCreate(1, 1, c_anchorCenter, 0, 0, false);
gv_customFadeDialog = DialogLastCreated();
DialogSetFullscreen(DialogLastCreated(), true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:2609
// Implementation
gv_tBDWindowExitCallback = lp_exitCallback;
DialogCreate(800, 600, c_anchorCenter, 0, 0, true);
DialogSetPosition(DialogLastCreated(), c_anchorCenter, 0, 0);
gv_tBDWindowDialog = DialogLastCreated();
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:3452
// Implementation
if ((gv_fullscreenImageDialog == c_invalidDialogId)) {
DialogCreate(2119, 1200, c_anchorCenter, 0, 0, true);
gv_fullscreenImageDialog = DialogLastCreated();
DialogSetImageVisible(DialogLastCreated(), false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:3947
gv_armoryAnchor[7] = c_anchorBottom;
gv_armoryAnchor[8] = c_anchorBottomRight;
DialogCreate(1600, 1200, c_anchorCenter, 0, 0, false);
gv_armoryGradientDialog = DialogLastCreated();
DialogSetImageVisible(gv_armoryGradientDialog, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:4730
}
DialogCreate(100, 100, c_anchorCenter, -50, -50, true);
gv_roomCheatDialog = DialogLastCreated();
gf_RoomCheatAddButton(StringExternal("Param/Value/C6660181"));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:4809
}
DialogCreate(100, 100, c_anchorCenter, -50, -50, true);
gv_roomCameraDialog = DialogLastCreated();
gf_RoomCameraAddButton(StringExternal("Param/Value/5288E7CD"));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:5078
libNtve_gf_HideGameUI(false, PlayerGroupAll());
UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeCashPanel, false);
DialogCreate(2048, 1026, c_anchorCenter, 0, 0, true);
lv_dlgBG = DialogLastCreated();
DialogSetFullscreen(DialogLastCreated(), true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:10382
PortraitSetBorderVisible(PortraitLastCreated(), false);
PortraitSetFullscreen(PortraitLastCreated(), true);
DialogCreate(1400, 400, c_anchorBottom, 0, 400, false);
gv_zPlanetPanel_DialogSubtitle = DialogLastCreated();
DialogSetTransparency(DialogLastCreated(), 100.0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:10385
gv_zPlanetPanel_DialogSubtitle = DialogLastCreated();
DialogSetTransparency(DialogLastCreated(), 100.0);
DialogCreate(1, 1, c_anchorCenter, 0, 0, false);
gv_zPlanetPanel_DialogControl = DialogLastCreated();
DialogSetFullscreen(DialogLastCreated(), true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:10670
}
DialogCreate(lp_width, lp_height, lp_anchor, lp_offsetX, lp_offsetY, true);
gv_introTextDialog = DialogLastCreated();
DialogSetImageVisible(DialogLastCreated(), false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:1248
}
DialogCreate(210, 90, c_anchorLeft, 42, 160, true);
gv_tutorialDialog = DialogLastCreated();
DialogSetImageVisible(gv_tutorialDialog, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:1259
gf_FormatReplayTransmissionButton(gv_replay_Transmission_ButtonID_Tutorial);
DialogSetVisible(gv_replay_Transmission_Dialog_Tutorial, PlayerGroupAll(), false);
DialogCreate(1120, 1200, c_anchorCenter, 0, 0, true);
gv_mainDialog = DialogLastCreated();
DialogSetImageVisible(gv_mainDialog, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/economy.sc2map — MapScript.galaxy:434
}
DialogCreate(500, 400, c_anchorCenter, 0, 0, false);
DialogSetImageVisible(DialogLastCreated(), false);
DialogControlCreate(DialogLastCreated(), c_triggerControlTypeLabel);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/protosscombat.sc2map — MapScript.galaxy:1661
}
DialogCreate(500, 400, c_anchorCenter, 0, 0, false);
lv_racingStartDIALOG = DialogLastCreated();
DialogSetImageVisible(lv_racingStartDIALOG, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/protosspsionics.sc2map — MapScript.galaxy:965
}
DialogCreate(500, 400, c_anchorCenter, 0, 0, false);
lv_racingStartDIALOG = DialogLastCreated();
DialogSetImageVisible(lv_racingStartDIALOG, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/protosspsionics.sc2map — MapScript.galaxy:1002
}
DialogCreate(500, 400, c_anchorCenter, 0, 0, false);
lv_racingStartDIALOG = DialogLastCreated();
DialogSetImageVisible(lv_racingStartDIALOG, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/rushdefense.sc2map — MapScript.galaxy:530
}
DialogCreate(500, 400, c_anchorCenter, 0, 0, false);
lv_racingStartDIALOG = DialogLastCreated();
DialogSetImageVisible(lv_racingStartDIALOG, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/rushdefense.sc2map — MapScript.galaxy:792
}
DialogCreate(500, 400, c_anchorCenter, 0, 0, false);
lv_racingStartDIALOG = DialogLastCreated();
DialogSetImageVisible(lv_racingStartDIALOG, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/terrancombat.sc2map — MapScript.galaxy:1509
}
DialogCreate(500, 400, c_anchorCenter, 0, 0, false);
lv_racingStartDIALOG = DialogLastCreated();
DialogSetImageVisible(lv_racingStartDIALOG, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/zergcombat.sc2map — MapScript.galaxy:1570
}
DialogCreate(500, 400, c_anchorCenter, 0, 0, false);
lv_racingStartDIALOG = DialogLastCreated();
DialogSetImageVisible(lv_racingStartDIALOG, false);
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:1823
lv_x = libCamp_gf_GD_GridToInteger(lp_offsetX, libCamp_ge_GRIDDLG_HV_Horizontal, libCamp_ge_GRIDDLG_HV2_NoneClient);
lv_y = libCamp_gf_GD_GridToInteger(lp_offsetY, libCamp_ge_GRIDDLG_HV_Vertical, libCamp_ge_GRIDDLG_HV2_NoneClient);
DialogCreate(FixedToInt(lv_w), FixedToInt(lv_h), lp_anchor, lv_x, lv_y, lp_modal);
}
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:1950
// Implementation
DialogCreate(lp_width, lp_height, c_anchorCenter, 0, 0, true);
libCamp_gv__MsgDlg = DialogLastCreated();
DialogSetImage(DialogLastCreated(), "Assets\\Textures\\ui_protoss_glass_stroke.dds");
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:2029
libNtve_gf_HideGameUI(false, PlayerGroupAll());
if ((libCamp_gv_zS_CampaignTrialEndDialog == c_invalidDialogId)) {
DialogCreate(1000, 600, c_anchorCenter, 0, 0, true);
libCamp_gv_zS_CampaignTrialEndDialog = DialogLastCreated();
DialogSetImageVisible(DialogLastCreated(), false);
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:5672
// Implementation
if ((libCamp_gv_tS_RoomChangeDialog == c_invalidDialogId)) {
DialogCreate(500, 50, c_anchorBottom, 0, 0, false);
libCamp_gv_tS_RoomChangeDialog = DialogLastCreated();
DialogSetImageVisible(DialogLastCreated(), false);
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:5681
libNtve_gf_SetDialogItemImage(DialogControlLastCreated(), "Assets\\Textures\\ui_roomselectionframe.dds", PlayerGroupAll());
libNtve_gf_SetDialogItemImageType2(DialogControlLastCreated(), true, PlayerGroupAll());
DialogCreate(1600, 400, c_anchorBottom, 0, 70, false);
libCamp_gv_tS_RoomChangeDialogSubtitle = DialogLastCreated();
DialogSetTransparency(DialogLastCreated(), 100.0);
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:10570
}
DialogCreate(1500, 1100, c_anchorCenter, 0, 0, true);
DialogSetPosition(DialogLastCreated(), c_anchorCenter, 0, 0);
libCamp_gv_tS_DebugProgressDialog = DialogLastCreated();
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:10947
}
lv_index = 0;
DialogCreate(1500, 420, c_anchorCenter, 0, 0, true);
libCamp_gv_tS_DebugProgressMissionLaunchDialog = DialogLastCreated();
autoCC6F9482_i = libCamp_gv_TSC_MISSION_FIRST;
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:11027
// Automatic Variable Declarations
// Implementation
DialogCreate(900, 600, c_anchorCenter, 0, 0, true);
DialogSetPosition(DialogLastCreated(), c_anchorCenter, 0, 0);
libCamp_gv_tS_DebugBuyTechDialog = DialogLastCreated();
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:11071
// Automatic Variable Declarations
// Implementation
DialogCreate(800, 400, c_anchorCenter, 0, 0, true);
DialogSetPosition(DialogLastCreated(), c_anchorCenter, 0, 0);
libCamp_gv_tS_DebugBuyTechDialog = DialogLastCreated();
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:13476
if ((libCamp_gv_tS_DebugResearchDialogProtoss == c_invalidDialogId)) {
DialogCreate(400, 50, c_anchorTop, -500, 140, false);
libCamp_gv_tS_DebugResearchDialogProtoss = DialogLastCreated();
DialogSetImageVisible(DialogLastCreated(), false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/MapScript.galaxy:2346
}
DialogCreate(210, 75, c_anchorCenter, 0, 0, true);
lv_warpAwayBar = DialogLastCreated();
DialogSetImageVisible(DialogLastCreated(), false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:9861
UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeBattleUI, false);
libNtve_gf_HideGameUI(false, PlayerGroupAll());
DialogCreate(500, 400, c_anchorCenter, 0, 0, true);
gv_campaignIntroDialog = DialogLastCreated();
DialogSetFullscreen(DialogLastCreated(), true);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:6409
libSwaC_gf_SendTransmissionCampaign(null, "zMission_Lab02|Line00096", c_transmissionDurationAdd, 0.0, true, libSwaC_ge_CampaignTransmissionPortraitOptioins_DontShowPortrait, libSwaC_ge_CampaignTransmissionCueSoundOptions_DefaultCueSoundBehavior);
UISetCursorVisible(PlayerGroupAll(), true);
DialogCreate(gv_buttonSizeWidth, gv_buttonSizeHeight, c_anchorCenter, gv_button1stPositionX, gv_button1stPositionY, true);
DialogSetImageVisible(DialogLastCreated(), false);
gv_dialogSecurityComputer_ReleaseZerg = DialogLastCreated();
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:6424
DialogControlSetVisible(lv_labelReleaseZerg, PlayerGroupAll(), true);
DialogSetVisible(gv_dialogSecurityComputer_ReleaseZerg, PlayerGroupAll(), true);
DialogCreate(gv_buttonSizeWidth, gv_buttonSizeHeight, c_anchorCenter, gv_button2ndPositionX, gv_button2ndPositionY, true);
DialogSetImageVisible(DialogLastCreated(), false);
gv_dialogSecurityComputer_ReleaseGas = DialogLastCreated();
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zspace01.sc2map/MapScript.galaxy:761
}
DialogCreate(1600, 1200, c_anchorCenter, 0, 0, false);
DialogSetImageVisible(DialogLastCreated(), false);
DialogSetFullscreen(DialogLastCreated(), true);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zstoryspace.sc2map/MapScript.galaxy:720
lib281DEC45_gf_ChangeRoom(lib281DEC45_ge_Rooms_StoryRoomVoid);
DialogCreate(500, 400, c_anchorCenter, 0, 0, true);
gv_cutsceneLoadingDialog = DialogLastCreated();
DialogSetFullscreen(gv_cutsceneLoadingDialog, true);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zzerus02.sc2map/MapScript.galaxy:2843
UnitAbilityShow(gv_chrysalis, "PrimalSpawning", true);
if ((gv_spawnLocustDialog == c_invalidDialogId)) {
DialogCreate(350, 132, c_anchorTopRight, 10, 70, false);
gv_spawnLocustDialog = DialogLastCreated();
DialogSetImageVisible(DialogLastCreated(), false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/voidprologue/voidprologue03.sc2map/MapScript.galaxy:5065
TriggerEnable(TriggerGetCurrent(), false);
SoundPlay(SoundLink("VP03_UI_EscapeTimer", -1), PlayerGroupAll(), 100.0, 0.0);
DialogCreate(500, 400, c_anchorTop, 0, 60, false);
gv_s3EscapeDialog = DialogLastCreated();
DialogSetImageVisible(gv_s3EscapeDialog, false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition02.sc2map — MapScript.galaxy:2346
}
DialogCreate(210, 75, c_anchorCenter, 0, 0, true);
lv_warpAwayBar = DialogLastCreated();
DialogSetImageVisible(DialogLastCreated(), false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2map — MapScript.galaxy:9861
UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeBattleUI, false);
libNtve_gf_HideGameUI(false, PlayerGroupAll());
DialogCreate(500, 400, c_anchorCenter, 0, 0, true);
gv_campaignIntroDialog = DialogLastCreated();
DialogSetFullscreen(DialogLastCreated(), true);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2map — MapScript.galaxy:6409
libSwaC_gf_SendTransmissionCampaign(null, "zMission_Lab02|Line00096", c_transmissionDurationAdd, 0.0, true, libSwaC_ge_CampaignTransmissionPortraitOptioins_DontShowPortrait, libSwaC_ge_CampaignTransmissionCueSoundOptions_DefaultCueSoundBehavior);
UISetCursorVisible(PlayerGroupAll(), true);
DialogCreate(gv_buttonSizeWidth, gv_buttonSizeHeight, c_anchorCenter, gv_button1stPositionX, gv_button1stPositionY, true);
DialogSetImageVisible(DialogLastCreated(), false);
gv_dialogSecurityComputer_ReleaseZerg = DialogLastCreated();
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2map — MapScript.galaxy:6424
DialogControlSetVisible(lv_labelReleaseZerg, PlayerGroupAll(), true);
DialogSetVisible(gv_dialogSecurityComputer_ReleaseZerg, PlayerGroupAll(), true);
DialogCreate(gv_buttonSizeWidth, gv_buttonSizeHeight, c_anchorCenter, gv_button2ndPositionX, gv_button2ndPositionY, true);
DialogSetImageVisible(DialogLastCreated(), false);
gv_dialogSecurityComputer_ReleaseGas = DialogLastCreated();
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace01.sc2map — MapScript.galaxy:761
}
DialogCreate(1600, 1200, c_anchorCenter, 0, 0, false);
DialogSetImageVisible(DialogLastCreated(), false);
DialogSetFullscreen(DialogLastCreated(), true);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstoryspace.sc2map — MapScript.galaxy:720
lib281DEC45_gf_ChangeRoom(lib281DEC45_ge_Rooms_StoryRoomVoid);
DialogCreate(500, 400, c_anchorCenter, 0, 0, true);
gv_cutsceneLoadingDialog = DialogLastCreated();
DialogSetFullscreen(gv_cutsceneLoadingDialog, true);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zzerus02.sc2map — MapScript.galaxy:2843
UnitAbilityShow(gv_chrysalis, "PrimalSpawning", true);
if ((gv_spawnLocustDialog == c_invalidDialogId)) {
DialogCreate(350, 132, c_anchorTopRight, 10, 70, false);
gv_spawnLocustDialog = DialogLastCreated();
DialogSetImageVisible(DialogLastCreated(), false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/voidprologue/voidprologue03.sc2map — MapScript.galaxy:5065
TriggerEnable(TriggerGetCurrent(), false);
SoundPlay(SoundLink("VP03_UI_EscapeTimer", -1), PlayerGroupAll(), 100.0, 0.0);
DialogCreate(500, 400, c_anchorTop, 0, 60, false);
gv_s3EscapeDialog = DialogLastCreated();
DialogSetImageVisible(gv_s3EscapeDialog, false);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:570
if ((libSwaC_gv_zS_WorldCoverDlg == c_invalidDialogId)) {
if ((lp_showHide == true)) {
DialogCreate(500, 400, c_anchorCenter, 0, 0, true);
libSwaC_gv_zS_WorldCoverDlg = DialogLastCreated();
DialogSetFullscreen(DialogLastCreated(), true);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:1480
}
DialogCreate(500, 400, c_anchorCenter, 0, 0, true);
libSwaC_gv__FadeDialog = DialogLastCreated();
DialogSetImageVisible(DialogLastCreated(), false);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:2033
}
DialogCreate(1600, 1200, c_anchorCenter, 0, 0, false);
DialogSetImageVisible(DialogLastCreated(), false);
DialogSetFullscreen(DialogLastCreated(), true);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:4420
TextExpressionSetToken("Param/Expression/lib_SwaC_DCF14620", "C", StringExternal(CatalogFieldValueGet(c_gameCatalogAchievement, lp_achievement, "Description", c_playerAny)));
TriggerDebugOutput(1, TextExpressionAssemble("Param/Expression/lib_SwaC_DCF14620"), false);
DialogCreate(1000, 400, c_anchorRight, -200, (libSwaC_gv_zS_AchievementPosition + 200), true);
libSwaC_gv_zS_AchievementPosition -= 125;
DialogSetVisible(DialogLastCreated(), PlayerGroupAll(), true);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:6708
// Implementation
libSwaC_gv_zS_CampaignCutsceneSkipped = false;
DialogCreate(500, 400, c_anchorCenter, 0, 0, true);
DialogSetFullscreen(DialogLastCreated(), true);
DialogSetImageVisible(DialogLastCreated(), false);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:7404
if ((libSwaC_gv_zS_ArmyCustomEggRoomDialog == c_invalidDialogId)) {
DialogCreate(500, 400, c_anchorCenter, 0, 0, true);
libSwaC_gv_zS_ArmyCustomEggRoomDialog = DialogLastCreated();
DialogSetImageVisible(DialogLastCreated(), false);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:8421
// Automatic Variable Declarations
// Implementation
DialogCreate(400, 400, c_anchorCenter, 0, 0, true);
DialogSetImageVisible(DialogLastCreated(), false);
if ((UserDataGetImageEdge("CalloutAttachment", lp_attachment, "Attachment", 1) == c_textTagEdgeLeft)) {
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:8482
SoundChannelSetVolume(PlayerGroupAll(), c_soundCategoryMovie, 35.0, 0.0);
if ((libSwaC_gv_zS_ArmyCustomUpgradeDialog == c_invalidDialogId)) {
DialogCreate(1920, 1200, c_anchorCenter, 0, 0, true);
libSwaC_gv_zS_ArmyCustomUpgradeDialog = DialogLastCreated();
DialogSetImageVisible(DialogLastCreated(), false);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:8868
SoundChannelSetVolume(PlayerGroupAll(), c_soundCategoryMovie, 35.0, 0.0);
if ((libSwaC_gv_zS_ArmyCustomEvolutionDialog == c_invalidDialogId)) {
DialogCreate(1920, 1200, c_anchorCenter, 0, 0, true);
libSwaC_gv_zS_ArmyCustomEvolutionDialog = DialogLastCreated();
DialogSetImageVisible(DialogLastCreated(), false);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:9299
TriggerEnable(libSwaC_gt_ZS_ArmyCustomEvolutionFanfareOver, true);
TriggerEnable(libSwaC_gt_ZS_ArmyCustomEvolutionFanfareFade, true);
DialogCreate(500, 400, c_anchorCenter, 0, 0, true);
DialogSetFullscreen(DialogLastCreated(), true);
DialogSetImageVisible(DialogLastCreated(), false);
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:813
DialogControlHookup(lib281DEC45_gv_zSS_UIArchivesScenePanel, c_triggerControlTypeButton, "PlayCinematicButton");
lib281DEC45_gv_zSS_UIArchivesScenePlayButton = DialogControlLastCreated();
DialogCreate(500, 400, c_anchorCenter, 0, 0, true);
lib281DEC45_gv_zSS_UIArchivesLoadingDialog = DialogLastCreated();
DialogSetFullscreen(lib281DEC45_gv_zSS_UIArchivesLoadingDialog, true);
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:5031
lv_indexUnit = UnitGroupUnit(auto9B2BC715_g, auto9B2BC715_u);
if ((UnitGetType(lv_indexUnit) == UserDataGetUnit("CalloutAttachment", lib281DEC45_gf_ZSS_CharacterCalloutData(lp_character), "Attach Unit", 1))) {
DialogCreate(400, 400, c_anchorCenter, 0, 0, true);
DialogSetImageVisible(DialogLastCreated(), false);
autoD3F9E7EF_val = UserDataGetImageEdge("CalloutAttachment", lib281DEC45_gf_ZSS_CharacterCalloutData(lp_character), "Attachment", 1);
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:5941
libSwaC_gf_RegisterStoryEvent(libSwaC_ge_ZS_Event_KerriganCheatEnds, lib281DEC45_gt_ZSS_UILibraryWindowClosed);
libSwaC_gf_RegisterStoryEvent(libSwaC_ge_ZS_Event_ArmyEnteredSubUI, lib281DEC45_gt_ZSS_UIArmySubscreenExited);
DialogCreate(500, 400, c_anchorCenter, 0, 0, true);
DialogSetFullscreen(DialogLastCreated(), true);
DialogSetImageVisible(DialogLastCreated(), false);
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:6300
TriggerEnable(TriggerGetCurrent(), false);
DialogCreate(1620, 1220, c_anchorCenter, 0, 0, true);
DialogSetFullscreen(DialogLastCreated(), true);
DialogSetImageVisible(DialogLastCreated(), false);
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:6656
TriggerEnable(TriggerGetCurrent(), false);
DialogCreate(1620, 1220, c_anchorCenter, 0, 0, true);
DialogSetFullscreen(DialogLastCreated(), true);
DialogSetImageVisible(DialogLastCreated(), false);
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:7265
TriggerEnable(TriggerGetCurrent(), false);
DialogCreate(750, 850, c_anchorCenter, 0, 0, true);
lib281DEC45_gv_zSS_DebugSceneDialog = DialogLastCreated();
lib281DEC45_gf_ZSS_DebugSceneItemInit(0, "Pre-render - Zerg Intro", true, true);