# Destroy Dialog
Grammar — Destroy dialog
Flags —Native
|Action
Destroys the specified dialog, and all the dialog items within.
# Arguments
int
<dialog> — Dialog
Returns — void
native void DialogDestroy(int dialog);
# Related
Category: Dialog / Dialog Tools
- Destroy All Dialogs —
void
— DialogDestroyAll - Destroy Dialog —
void
— DialogDestroy - Position Subtitle to Dialog —
void
— DialogSetSubtitlePositionOverride - Clear Subtitle Position Dialog —
void
— DialogClearSubtitlePositionOverride - Set Dialog Enabled —
void
— DialogSetEnabled - Dialog Is Enabled —
bool
— DialogIsEnabled - Set Dialog Offscreen —
void
— DialogSetOffscreen - Dialog Is Offscreen —
bool
— DialogIsOffscreen - Dialog Is Modal —
bool
— DialogIsModal - Show/Hide Dialog Background —
void
— DialogSetImageVisible - Dialog Background Image Is Visible —
bool
— DialogIsImageVisible - Dialog Background Image —
string
— DialogGetImage - Set Dialog Transparency —
void
— DialogSetTransparency - Dialog Transparency —
fixed
— DialogGetTransparency - Set Dialog RTT Channel —
void
— DialogSetChannel - Dialog Channel —
int
— DialogGetChannel - Set Dialog Render Priority —
void
— DialogSetRenderPriority - Dialog Render Priority —
int
— DialogGetRenderPriority - Set Dialog Observed Type —
void
— DialogSetObservedType
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:3212
DialogControlFadeTransparency(lv_text, PlayerGroupAll(), lv_dur, 100.0);
Wait(lv_dur, c_timeGame);
DialogDestroy(lv_dlg);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:3255
else {
}
DialogDestroy(gv_levelStartLabelDialog);
gv_levelStartLabelDialog = c_invalidDialogId;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:3559
Wait(0.25, c_timeGame);
}
DialogDestroy(lv_dlg);
DialogDestroy(lv_dlg2);
TriggerEnable(gt_ScoreScreenCloseButtonClicked, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:3560
}
DialogDestroy(lv_dlg);
DialogDestroy(lv_dlg2);
TriggerEnable(gt_ScoreScreenCloseButtonClicked, false);
TriggerEnable(gt_ScoreScreenSpacebarPressed, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:3931
Wait(lp_duration, c_timeGame);
if ((lp_fadeIn == true)) {
DialogDestroy(gv_fadeDialog);
gv_fadeDialog = c_invalidDialogId;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:3987
else {
}
DialogDestroy(gv_endCineTextDialog);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:8100
}
DialogDestroy(gv_bossHPBarLabelDlg);
DialogDestroy(gv_bossHPBarDlg);
gv_bossHPBarDlg = c_invalidDialogId;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:8101
DialogDestroy(gv_bossHPBarLabelDlg);
DialogDestroy(gv_bossHPBarDlg);
gv_bossHPBarDlg = c_invalidDialogId;
libNtve_gf_MakeUnitInvulnerable(gv_viking, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:8170
}
DialogDestroy(gv_unitHPBarLabelDlg);
DialogDestroy(gv_unitHPBarDlg);
gv_unitHPBarDlg = c_invalidDialogId;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:8171
DialogDestroy(gv_unitHPBarLabelDlg);
DialogDestroy(gv_unitHPBarDlg);
gv_unitHPBarDlg = c_invalidDialogId;
TimerPause(gv_unitHPBarFadeTimer, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:9654
UnitRemove(UnitFromId(501));
libNtve_gf_HideScreenButton(false, gv_escapeX88tbotButton);
DialogDestroy(gv_buttonEscapeX88tbot);
SoundPlay(SoundLink("Thor_Build", 0), PlayerGroupAll(), 100.0, 0.0);
UnitSetOwner(gv_escapeWarbot, gv_p09_NEUTRAL_ATTACK, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:3313
gv_newItems[lp_newItemIndex].lv_text = null;
if ((gv_newItems[lp_newItemIndex].lv_dialog != c_invalidDialogId)) {
DialogDestroy(gv_newItems[lp_newItemIndex].lv_dialog);
gv_newItems[lp_newItemIndex].lv_dialog = c_invalidDialogId;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:10494
if ((gv_zPlanetPanel_DialogSubtitle != c_invalidDialogId)) {
DialogDestroy(gv_zPlanetPanel_DialogSubtitle);
gv_zPlanetPanel_DialogSubtitle = c_invalidDialogId;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:10499
if ((gv_zPlanetPanel_DialogControl != c_invalidDialogId)) {
DialogDestroy(gv_zPlanetPanel_DialogControl);
gv_zPlanetPanel_DialogControl = c_invalidDialogId;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:10504
if ((gv_zPlanetPanel_DialogControl != c_invalidDialogId)) {
DialogDestroy(gv_zPlanetPanel_DialogControl);
gv_zPlanetPanel_DialogControl = c_invalidDialogId;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:10667
// Implementation
if ((gv_introTextDialog != c_invalidDialogId)) {
DialogDestroy(gv_introTextDialog);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:10708
// Implementation
if ((gv_armoryTextDialog[lp_iD] != c_invalidDialogId)) {
DialogDestroy(gv_armoryTextDialog[lp_iD]);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:13839
}
DialogDestroy(gv_aBChoicePanel);
gv_aBChoicePanel = c_invalidDialogId;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:14471
}
DialogDestroy(gv_tBDWindowDialog);
TriggerExecute(gv_tBDWindowExitCallback, true, false);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/advancedcommand.sc2map/MapScript.galaxy:861
}
TimerWindowDestroy(gv_mainTimerWindow);
DialogDestroy(libChal_gv_finalCountdownDIALOG);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/economy.sc2map/MapScript.galaxy:443
libNtve_gf_SetDialogItemText(lv_lABEL, StringExternal("Param/Value/D917C439"), PlayerGroupAll());
Wait(3.0, c_timeGame);
DialogDestroy(DialogLastCreated());
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/terrancovertops.sc2map/MapScript.galaxy:847
}
TimerWindowDestroy(gv_mainTimerWindow);
DialogDestroy(libChal_gv_finalCountdownDIALOG);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/terrancovertops.sc2map/MapScript.galaxy:1227
}
DialogDestroy(libChal_gv_finalCountdownDIALOG);
if ((gv_finalScore >= gv_winningScoreBronze)) {
TriggerExecute(gt_FinishVictory, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/zerginfestation.sc2map/MapScript.galaxy:822
TriggerExecute(gt_ObjectiveKillUpdate, true, false);
TimerWindowDestroy(gv_mainTimerWindow);
DialogDestroy(libChal_gv_finalCountdownDIALOG);
if ((gv_finalScore >= gv_winningScoreBronze)) {
TriggerExecute(gt_FinishVictory, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/zerginfestation.sc2map/MapScript.galaxy:1165
UnitPauseAll(true);
TimerWindowDestroy(gv_mainTimerWindow);
DialogDestroy(libChal_gv_finalCountdownDIALOG);
TimerPause(gv_mainTimer, true);
TriggerStop(gt_Spawn);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/zerginfestation.sc2map/MapScript.galaxy:1208
UnitPauseAll(true);
TimerWindowDestroy(gv_mainTimerWindow);
DialogDestroy(libChal_gv_finalCountdownDIALOG);
TimerPause(gv_mainTimer, true);
TriggerStop(gt_Spawn);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:3212
DialogControlFadeTransparency(lv_text, PlayerGroupAll(), lv_dur, 100.0);
Wait(lv_dur, c_timeGame);
DialogDestroy(lv_dlg);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:3255
else {
}
DialogDestroy(gv_levelStartLabelDialog);
gv_levelStartLabelDialog = c_invalidDialogId;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:3559
Wait(0.25, c_timeGame);
}
DialogDestroy(lv_dlg);
DialogDestroy(lv_dlg2);
TriggerEnable(gt_ScoreScreenCloseButtonClicked, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:3560
}
DialogDestroy(lv_dlg);
DialogDestroy(lv_dlg2);
TriggerEnable(gt_ScoreScreenCloseButtonClicked, false);
TriggerEnable(gt_ScoreScreenSpacebarPressed, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:3931
Wait(lp_duration, c_timeGame);
if ((lp_fadeIn == true)) {
DialogDestroy(gv_fadeDialog);
gv_fadeDialog = c_invalidDialogId;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:3987
else {
}
DialogDestroy(gv_endCineTextDialog);
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:8100
}
DialogDestroy(gv_bossHPBarLabelDlg);
DialogDestroy(gv_bossHPBarDlg);
gv_bossHPBarDlg = c_invalidDialogId;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:8101
DialogDestroy(gv_bossHPBarLabelDlg);
DialogDestroy(gv_bossHPBarDlg);
gv_bossHPBarDlg = c_invalidDialogId;
libNtve_gf_MakeUnitInvulnerable(gv_viking, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:8170
}
DialogDestroy(gv_unitHPBarLabelDlg);
DialogDestroy(gv_unitHPBarDlg);
gv_unitHPBarDlg = c_invalidDialogId;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:8171
DialogDestroy(gv_unitHPBarLabelDlg);
DialogDestroy(gv_unitHPBarDlg);
gv_unitHPBarDlg = c_invalidDialogId;
TimerPause(gv_unitHPBarFadeTimer, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2map — MapScript.galaxy:9654
UnitRemove(UnitFromId(501));
libNtve_gf_HideScreenButton(false, gv_escapeX88tbotButton);
DialogDestroy(gv_buttonEscapeX88tbot);
SoundPlay(SoundLink("Thor_Build", 0), PlayerGroupAll(), 100.0, 0.0);
UnitSetOwner(gv_escapeWarbot, gv_p09_NEUTRAL_ATTACK, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:3313
gv_newItems[lp_newItemIndex].lv_text = null;
if ((gv_newItems[lp_newItemIndex].lv_dialog != c_invalidDialogId)) {
DialogDestroy(gv_newItems[lp_newItemIndex].lv_dialog);
gv_newItems[lp_newItemIndex].lv_dialog = c_invalidDialogId;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:10494
if ((gv_zPlanetPanel_DialogSubtitle != c_invalidDialogId)) {
DialogDestroy(gv_zPlanetPanel_DialogSubtitle);
gv_zPlanetPanel_DialogSubtitle = c_invalidDialogId;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:10499
if ((gv_zPlanetPanel_DialogControl != c_invalidDialogId)) {
DialogDestroy(gv_zPlanetPanel_DialogControl);
gv_zPlanetPanel_DialogControl = c_invalidDialogId;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:10504
if ((gv_zPlanetPanel_DialogControl != c_invalidDialogId)) {
DialogDestroy(gv_zPlanetPanel_DialogControl);
gv_zPlanetPanel_DialogControl = c_invalidDialogId;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:10667
// Implementation
if ((gv_introTextDialog != c_invalidDialogId)) {
DialogDestroy(gv_introTextDialog);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:10708
// Implementation
if ((gv_armoryTextDialog[lp_iD] != c_invalidDialogId)) {
DialogDestroy(gv_armoryTextDialog[lp_iD]);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:13839
}
DialogDestroy(gv_aBChoicePanel);
gv_aBChoicePanel = c_invalidDialogId;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:14471
}
DialogDestroy(gv_tBDWindowDialog);
TriggerExecute(gv_tBDWindowExitCallback, true, false);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/advancedcommand.sc2map — MapScript.galaxy:861
}
TimerWindowDestroy(gv_mainTimerWindow);
DialogDestroy(libChal_gv_finalCountdownDIALOG);
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/economy.sc2map — MapScript.galaxy:443
libNtve_gf_SetDialogItemText(lv_lABEL, StringExternal("Param/Value/D917C439"), PlayerGroupAll());
Wait(3.0, c_timeGame);
DialogDestroy(DialogLastCreated());
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/terrancovertops.sc2map — MapScript.galaxy:847
}
TimerWindowDestroy(gv_mainTimerWindow);
DialogDestroy(libChal_gv_finalCountdownDIALOG);
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/terrancovertops.sc2map — MapScript.galaxy:1227
}
DialogDestroy(libChal_gv_finalCountdownDIALOG);
if ((gv_finalScore >= gv_winningScoreBronze)) {
TriggerExecute(gt_FinishVictory, true, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/zerginfestation.sc2map — MapScript.galaxy:822
TriggerExecute(gt_ObjectiveKillUpdate, true, false);
TimerWindowDestroy(gv_mainTimerWindow);
DialogDestroy(libChal_gv_finalCountdownDIALOG);
if ((gv_finalScore >= gv_winningScoreBronze)) {
TriggerExecute(gt_FinishVictory, true, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/zerginfestation.sc2map — MapScript.galaxy:1165
UnitPauseAll(true);
TimerWindowDestroy(gv_mainTimerWindow);
DialogDestroy(libChal_gv_finalCountdownDIALOG);
TimerPause(gv_mainTimer, true);
TriggerStop(gt_Spawn);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/zerginfestation.sc2map — MapScript.galaxy:1208
UnitPauseAll(true);
TimerWindowDestroy(gv_mainTimerWindow);
DialogDestroy(libChal_gv_finalCountdownDIALOG);
TimerPause(gv_mainTimer, true);
TriggerStop(gt_Spawn);
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:13229
if ((EventDialogControl() == libCamp_gv_tS_DebugProgressMissionLaunchCancel)) {
TriggerEnable(TriggerGetCurrent(), false);
DialogDestroy(libCamp_gv_tS_DebugProgressMissionLaunchDialog);
DialogSetVisible(libCamp_gv_tS_DebugProgressDialog, PlayerGroupAll(), true);
}
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:14083
if ((libCamp_gv_tS_DebugTechCustomDialog != c_invalidDialogId)) {
DialogDestroy(libCamp_gv_tS_DebugTechCustomDialog);
libCamp_gv_tS_DebugTechCustomDialog = c_invalidDialogId;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/MapScript.galaxy:2383
Wait(0.0625, c_timeReal);
}
DialogDestroy(lv_warpAwayBar);
return true;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:9929
libSwaC_gf_CinematicFade(false, 2.0, Color(0.00, 0.00, 0.00), true);
CutsceneStop(gv_campaignIntroCutscene);
DialogDestroy(gv_campaignIntroDialog);
libSwaC_gf_CinematicFade(true, 0.0, Color(0.00, 0.00, 0.00), true);
libNtve_gf_HideGameUI(true, PlayerGroupAll());
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:6499
libNtve_gf_MakeUnitInvulnerable(lv_gasTurret02, true);
gv_securityComputerFinished = true;
DialogDestroy(gv_dialogSecurityComputer_ReleaseGas);
DialogDestroy(gv_dialogSecurityComputer_ReleaseZerg);
Wait(2.0, c_timeGame);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:6500
gv_securityComputerFinished = true;
DialogDestroy(gv_dialogSecurityComputer_ReleaseGas);
DialogDestroy(gv_dialogSecurityComputer_ReleaseZerg);
Wait(2.0, c_timeGame);
CameraApplyInfo(gv_pLAYER_01_USER, CameraInfoFromId(921), 10.0, -1, 10, true);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:6626
TriggerExecute(gt_SecurityRoomMusic, true, false);
gv_securityComputerFinished = true;
DialogDestroy(gv_dialogSecurityComputer_ReleaseGas);
DialogDestroy(gv_dialogSecurityComputer_ReleaseZerg);
UISetCursorVisible(PlayerGroupAll(), false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:6627
gv_securityComputerFinished = true;
DialogDestroy(gv_dialogSecurityComputer_ReleaseGas);
DialogDestroy(gv_dialogSecurityComputer_ReleaseZerg);
UISetCursorVisible(PlayerGroupAll(), false);
gv_computerZergReleased = true;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zstoryspace.sc2map/MapScript.galaxy:757
libNtve_gf_WaitForTimer(gv_cutsceneLoadingTimer, 0.0, false);
DialogDestroy(gv_cutsceneLoadingDialog);
CutscenePlay(EventCutsceneId());
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "ZSpace02MusicCutscene02_MissionBriefing", c_soundtrackCueAny, c_soundtrackIndexAny, false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition02.sc2map — MapScript.galaxy:2383
Wait(0.0625, c_timeReal);
}
DialogDestroy(lv_warpAwayBar);
return true;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2map — MapScript.galaxy:9929
libSwaC_gf_CinematicFade(false, 2.0, Color(0.00, 0.00, 0.00), true);
CutsceneStop(gv_campaignIntroCutscene);
DialogDestroy(gv_campaignIntroDialog);
libSwaC_gf_CinematicFade(true, 0.0, Color(0.00, 0.00, 0.00), true);
libNtve_gf_HideGameUI(true, PlayerGroupAll());
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2map — MapScript.galaxy:6499
libNtve_gf_MakeUnitInvulnerable(lv_gasTurret02, true);
gv_securityComputerFinished = true;
DialogDestroy(gv_dialogSecurityComputer_ReleaseGas);
DialogDestroy(gv_dialogSecurityComputer_ReleaseZerg);
Wait(2.0, c_timeGame);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2map — MapScript.galaxy:6500
gv_securityComputerFinished = true;
DialogDestroy(gv_dialogSecurityComputer_ReleaseGas);
DialogDestroy(gv_dialogSecurityComputer_ReleaseZerg);
Wait(2.0, c_timeGame);
CameraApplyInfo(gv_pLAYER_01_USER, CameraInfoFromId(921), 10.0, -1, 10, true);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2map — MapScript.galaxy:6626
TriggerExecute(gt_SecurityRoomMusic, true, false);
gv_securityComputerFinished = true;
DialogDestroy(gv_dialogSecurityComputer_ReleaseGas);
DialogDestroy(gv_dialogSecurityComputer_ReleaseZerg);
UISetCursorVisible(PlayerGroupAll(), false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2map — MapScript.galaxy:6627
gv_securityComputerFinished = true;
DialogDestroy(gv_dialogSecurityComputer_ReleaseGas);
DialogDestroy(gv_dialogSecurityComputer_ReleaseZerg);
UISetCursorVisible(PlayerGroupAll(), false);
gv_computerZergReleased = true;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstoryspace.sc2map — MapScript.galaxy:757
libNtve_gf_WaitForTimer(gv_cutsceneLoadingTimer, 0.0, false);
DialogDestroy(gv_cutsceneLoadingDialog);
CutscenePlay(EventCutsceneId());
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "ZSpace02MusicCutscene02_MissionBriefing", c_soundtrackCueAny, c_soundtrackIndexAny, false);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:1477
// Implementation
if ((libSwaC_gv__FadeDialog != c_invalidDialogId)) {
DialogDestroy(libSwaC_gv__FadeDialog);
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:4452
}
DialogDestroy(lv_achievementDialog);
libSwaC_gv_zS_AchievementsDisplayed -= 1;
if ((libSwaC_gv_zS_AchievementsDisplayed <= 0)) {
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:6720
CutscenePlay(libSwaC_gv_zS_CurrentCampaignCutscene);
TriggerExecute(libSwaC_gt_ZS_WaitForDialogCutscene, true, lp_waitDontWait);
DialogDestroy(libSwaC_gv_zS_CampaignCutsceneDialog);
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:9339
DialogControlFadeTransparency(DialogControlLastCreated(), PlayerGroupAll(), 2.0, 0.0);
TriggerWaitForTrigger(libSwaC_gt_ZS_ArmyCustomEvolutionFanfareOver, true);
DialogDestroy(lv_splitTitleDialog);
CutsceneStop(libSwaC_gv_zS_ArmyCustomEvolutionFanfareCutscene);
libNtve_gf_CinematicMode(false, PlayerGroupAll(), c_transitionDurationImmediate);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:14967
libSwaC_gv_zS_DebugSuppressKerriganAchievements = false;
libSwaC_gv_zS_DebugProgressReleaseMode = false;
DialogDestroy(libSwaC_gv_zS_DebugProgressDialog);
libSwaC_gv_zS_DebugProgressDialog = c_invalidDialogId;
UISetWorldVisible(PlayerGroupAll(), true);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:15297
}
DialogDestroy(libSwaC_gv_zS_DebugStoryTechDialog);
libSwaC_gv_zS_DebugStoryTechDialog = c_invalidDialogId;
UISetWorldVisible(PlayerGroupAll(), true);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:15445
libSwaC_gv_zS_DebugStoryTechUpgradeCategory = lp_armyCategory;
if ((libSwaC_gv_zS_DebugStoryTechUpgradeDialog != c_invalidDialogId)) {
DialogDestroy(libSwaC_gv_zS_DebugStoryTechUpgradeDialog);
libSwaC_gv_zS_DebugStoryTechUpgradeDialog = c_invalidDialogId;
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:22694
}
libSwaC_gf_ZS_UpdateArmyUpgradeStates();
DialogDestroy(libSwaC_gv_zS_DebugStoryTechUpgradeDialog);
libSwaC_gv_zS_DebugStoryTechUpgradeDialog = c_invalidDialogId;
return true;
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:22775
}
DialogDestroy(libSwaC_gv_zS_DebugStoryTechUpgradeDialog);
libSwaC_gv_zS_DebugStoryTechUpgradeDialog = c_invalidDialogId;
return true;
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:1466
// Implementation
if ((gv_textTagAnchor != c_invalidDialogId)) {
DialogDestroy(gv_textTagAnchor);
gv_textTagAnchor = c_invalidDialogId;
DialogControlDestroy(gv_textTag);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:2207
TriggerStop(gt_ZergSelectArmyReminderQ);
gf_GenericCleanup();
DialogDestroy(gv_zergSelectArmyF2Directive);
gv_zergSelectArmyF2Directive = c_invalidDialogId;
libVCUI_gf_ToggleArmyButtonFlashing(false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:2230
}
if ((gv_zergSelectArmyF2Directive != c_invalidDialogId)) {
DialogDestroy(gv_zergSelectArmyF2Directive);
gv_zergSelectArmyF2Directive = c_invalidDialogId;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:2251
gf_GenericCleanup();
if ((gv_zergSelectArmyF2Directive != c_invalidDialogId)) {
DialogDestroy(gv_zergSelectArmyF2Directive);
gv_zergSelectArmyF2Directive = c_invalidDialogId;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:2938
}
if ((gv_zergSelectArmyF2Directive != c_invalidDialogId)) {
DialogDestroy(gv_zergSelectArmyF2Directive);
gv_zergSelectArmyF2Directive = c_invalidDialogId;
libVCUI_gf_ToggleArmyButtonFlashing(false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:3092
TriggerEnable(TriggerGetCurrent(), false);
if ((gv_zergSelectArmyF2Directive != c_invalidDialogId)) {
DialogDestroy(gv_zergSelectArmyF2Directive);
gv_zergSelectArmyF2Directive = c_invalidDialogId;
libVCUI_gf_ToggleArmyButtonFlashing(false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:14697
if ((lv_armySelected == true)) {
if ((gv_zergSelectArmyF2Directive != c_invalidDialogId)) {
DialogDestroy(gv_zergSelectArmyF2Directive);
gv_zergSelectArmyF2Directive = c_invalidDialogId;
libVCUI_gf_ToggleArmyButtonFlashing(false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:15145
if ((lv_armySelected == true)) {
if ((gv_zergSelectArmyF2Directive != c_invalidDialogId)) {
DialogDestroy(gv_zergSelectArmyF2Directive);
gv_zergSelectArmyF2Directive = c_invalidDialogId;
libVCUI_gf_ToggleArmyButtonFlashing(false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur01.sc2map/MapScript.galaxy:2112
UnitRemove(lv_attackBeacon);
DialogControlDestroy(lv_textTagDialog);
DialogDestroy(lv_textTagDialogAnchor);
DialogControlDestroy(lv_textTagDialogAnchorPoint);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur02.sc2map/MapScript.galaxy:1267
if ((UnitIsAlive(gv_blinkHelper) == true)) {
libNtve_gf_KillModel(libHots_gf_ActorForUnit(gv_blinkHelper, 1));
DialogDestroy(gv_blinkTagAnchor);
DialogControlDestroy(gv_blinkTag);
UnitKill(gv_blinkHelper);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur02.sc2map/MapScript.galaxy:1617
if ((UnitIsAlive(gv_blinkHelper) == true)) {
libNtve_gf_KillModel(libHots_gf_ActorForUnit(gv_blinkHelper, 1));
DialogDestroy(gv_blinkTagAnchor);
DialogControlDestroy(gv_blinkTag);
UnitKill(gv_blinkHelper);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur02.sc2map/MapScript.galaxy:1684
if ((UnitIsAlive(gv_blinkHelper) == true)) {
libNtve_gf_KillModel(libHots_gf_ActorForUnit(gv_blinkHelper, 1));
DialogDestroy(gv_blinkTagAnchor);
DialogControlDestroy(gv_blinkTag);
UnitKill(gv_blinkHelper);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur02.sc2map/MapScript.galaxy:2356
if ((UnitIsAlive(gv_tInvisHelper) == true)) {
libNtve_gf_KillModel(libHots_gf_ActorForUnit(gv_tInvisHelper, 1));
DialogDestroy(gv_tTextTagAnchor);
DialogControlDestroy(gv_tTextTag);
UnitRemove(gv_tInvisHelper);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur02.sc2map/MapScript.galaxy:2427
if ((UnitIsAlive(gv_tInvisHelper) == true)) {
libNtve_gf_KillModel(libHots_gf_ActorForUnit(gv_tInvisHelper, 1));
DialogDestroy(gv_tTextTagAnchor);
DialogControlDestroy(gv_tTextTag);
UnitRemove(gv_tInvisHelper);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur02.sc2map/MapScript.galaxy:2555
if ((UnitIsAlive(gv_tInvisHelper) == true)) {
libNtve_gf_KillModel(libHots_gf_ActorForUnit(gv_tInvisHelper, 1));
DialogDestroy(gv_tTextTagAnchor);
DialogControlDestroy(gv_tTextTag);
UnitRemove(gv_tInvisHelper);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur02.sc2map/MapScript.galaxy:3047
if ((UnitIsAlive(gv_tInvisHelper) == true)) {
libNtve_gf_KillModel(libHots_gf_ActorForUnit(gv_tInvisHelper, 1));
DialogDestroy(gv_tTextTagAnchor);
DialogControlDestroy(gv_tTextTag);
UnitRemove(gv_tInvisHelper);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur02.sc2map/MapScript.galaxy:3111
if ((UnitIsAlive(gv_tInvisHelper) == true)) {
libNtve_gf_KillModel(libHots_gf_ActorForUnit(gv_tInvisHelper, 1));
DialogDestroy(gv_tTextTagAnchor);
DialogControlDestroy(gv_tTextTag);
UnitRemove(gv_tInvisHelper);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur02.sc2map/MapScript.galaxy:3208
if ((UnitIsAlive(gv_tInvisHelper) == true)) {
libNtve_gf_KillModel(libHots_gf_ActorForUnit(gv_tInvisHelper, 1));
DialogDestroy(gv_tTextTagAnchor);
DialogControlDestroy(gv_tTextTag);
UnitRemove(gv_tInvisHelper);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur02.sc2map/MapScript.galaxy:3401
libNtve_gf_KillModel(libHots_gf_ActorForUnit(gv_tMakeAssimilatorAssimilator, 1));
libHots_gf_StoreActorForUnit(gv_tMakeAssimilatorAssimilator, 1, null);
DialogDestroy(gv_tTextTagAnchor);
DialogControlDestroy(gv_tTextTag);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur06.sc2map/MapScript.galaxy:628
}
else {
DialogDestroy(gv_disableDialog[1]);
}
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur06.sc2map/MapScript.galaxy:644
}
else {
DialogDestroy(gv_disableDialog[2]);
}
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur06.sc2map/MapScript.galaxy:660
}
else {
DialogDestroy(gv_disableDialog[3]);
}
Wait(10.0, c_timeAI);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur06.sc2map/MapScript.galaxy:678
}
else {
DialogDestroy(gv_disableDialog[4]);
}
}