# Destroy Dialog

Grammar — Destroy dialog
FlagsNative | Action

Destroys the specified dialog, and all the dialog items within.

# Arguments

  • int [ dialog ] — Dialog

Returns — void

native void DialogDestroy(int dialog);

Category: Dialog / Dialog Tools

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L3212
DialogDestroy(lv_dlg)
// L3255
DialogDestroy(gv_levelStartLabelDialog)
// L3559
DialogDestroy(lv_dlg)
// L3560
DialogDestroy(lv_dlg2)
// L3931
DialogDestroy(gv_fadeDialog)
// L3987
DialogDestroy(gv_endCineTextDialog)
// L8100
DialogDestroy(gv_bossHPBarLabelDlg)
// L8101
DialogDestroy(gv_bossHPBarDlg)
// L8170
DialogDestroy(gv_unitHPBarLabelDlg)
// L8171
DialogDestroy(gv_unitHPBarDlg)
// L9654
DialogDestroy(gv_buttonEscapeX88tbot)
// L3313
DialogDestroy(gv_newItems[lp_newItemIndex].lv_dialog)
// L10494
DialogDestroy(gv_zPlanetPanel_DialogSubtitle)
// L10499
DialogDestroy(gv_zPlanetPanel_DialogControl)
// L10504
DialogDestroy(gv_zPlanetPanel_DialogControl)
// L10667
DialogDestroy(gv_introTextDialog)
// L10708
DialogDestroy(gv_armoryTextDialog[lp_iD])
// L13839
DialogDestroy(gv_aBChoicePanel)
// L14471
DialogDestroy(gv_tBDWindowDialog)
// L861
DialogDestroy(libChal_gv_finalCountdownDIALOG)
// L443
DialogDestroy(DialogLastCreated())
// L847
DialogDestroy(libChal_gv_finalCountdownDIALOG)
// L1227
DialogDestroy(libChal_gv_finalCountdownDIALOG)
// L822
DialogDestroy(libChal_gv_finalCountdownDIALOG)
// L1165
DialogDestroy(libChal_gv_finalCountdownDIALOG)
// L1208
DialogDestroy(libChal_gv_finalCountdownDIALOG)
// L3212
DialogDestroy(lv_dlg)
// L3255
DialogDestroy(gv_levelStartLabelDialog)
// L3559
DialogDestroy(lv_dlg)
// L3560
DialogDestroy(lv_dlg2)
// L3931
DialogDestroy(gv_fadeDialog)
// L3987
DialogDestroy(gv_endCineTextDialog)
// L8100
DialogDestroy(gv_bossHPBarLabelDlg)
// L8101
DialogDestroy(gv_bossHPBarDlg)
// L8170
DialogDestroy(gv_unitHPBarLabelDlg)
// L8171
DialogDestroy(gv_unitHPBarDlg)
// L9654
DialogDestroy(gv_buttonEscapeX88tbot)
// L3313
DialogDestroy(gv_newItems[lp_newItemIndex].lv_dialog)
// L10494
DialogDestroy(gv_zPlanetPanel_DialogSubtitle)
// L10499
DialogDestroy(gv_zPlanetPanel_DialogControl)
// L10504
DialogDestroy(gv_zPlanetPanel_DialogControl)
// L10667
DialogDestroy(gv_introTextDialog)
// L10708
DialogDestroy(gv_armoryTextDialog[lp_iD])
// L13839
DialogDestroy(gv_aBChoicePanel)
// L14471
DialogDestroy(gv_tBDWindowDialog)
// L861
DialogDestroy(libChal_gv_finalCountdownDIALOG)
// L443
DialogDestroy(DialogLastCreated())
// L847
DialogDestroy(libChal_gv_finalCountdownDIALOG)
// L1227
DialogDestroy(libChal_gv_finalCountdownDIALOG)
// L822
DialogDestroy(libChal_gv_finalCountdownDIALOG)
// L1165
DialogDestroy(libChal_gv_finalCountdownDIALOG)
// L1208
DialogDestroy(libChal_gv_finalCountdownDIALOG)

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L13229
DialogDestroy(libCamp_gv_tS_DebugProgressMissionLaunchDialog)
// L14083
DialogDestroy(libCamp_gv_tS_DebugTechCustomDialog)

# campaigns/swarm.sc2campaign

MapScript.galaxy

// L2383
DialogDestroy(lv_warpAwayBar)
// L9929
DialogDestroy(gv_campaignIntroDialog)
// L6499
DialogDestroy(gv_dialogSecurityComputer_ReleaseGas)
// L6500
DialogDestroy(gv_dialogSecurityComputer_ReleaseZerg)
// L6626
DialogDestroy(gv_dialogSecurityComputer_ReleaseGas)
// L6627
DialogDestroy(gv_dialogSecurityComputer_ReleaseZerg)
// L757
DialogDestroy(gv_cutsceneLoadingDialog)
// L2383
DialogDestroy(lv_warpAwayBar)
// L9929
DialogDestroy(gv_campaignIntroDialog)
// L6499
DialogDestroy(gv_dialogSecurityComputer_ReleaseGas)
// L6500
DialogDestroy(gv_dialogSecurityComputer_ReleaseZerg)
// L6626
DialogDestroy(gv_dialogSecurityComputer_ReleaseGas)
// L6627
DialogDestroy(gv_dialogSecurityComputer_ReleaseZerg)
// L757
DialogDestroy(gv_cutsceneLoadingDialog)

# campaigns/swarmstory.sc2campaign

SwarmCampaignLib.galaxy

// L1477
DialogDestroy(libSwaC_gv__FadeDialog)
// L4452
DialogDestroy(lv_achievementDialog)
// L6720
DialogDestroy(libSwaC_gv_zS_CampaignCutsceneDialog)
// L9339
DialogDestroy(lv_splitTitleDialog)
// L14967
DialogDestroy(libSwaC_gv_zS_DebugProgressDialog)
// L15297
DialogDestroy(libSwaC_gv_zS_DebugStoryTechDialog)
// L15445
DialogDestroy(libSwaC_gv_zS_DebugStoryTechUpgradeDialog)
// L22694
DialogDestroy(libSwaC_gv_zS_DebugStoryTechUpgradeDialog)
// L22775
DialogDestroy(libSwaC_gv_zS_DebugStoryTechUpgradeDialog)

# campaigns/void.sc2campaign

MapScript.galaxy

// L1466
DialogDestroy(gv_textTagAnchor)
// L2207
DialogDestroy(gv_zergSelectArmyF2Directive)
// L2230
DialogDestroy(gv_zergSelectArmyF2Directive)
// L2251
DialogDestroy(gv_zergSelectArmyF2Directive)
// L2938
DialogDestroy(gv_zergSelectArmyF2Directive)
// L3092
DialogDestroy(gv_zergSelectArmyF2Directive)
// L14697
DialogDestroy(gv_zergSelectArmyF2Directive)
// L15145
DialogDestroy(gv_zergSelectArmyF2Directive)
// L2112
DialogDestroy(lv_textTagDialogAnchor)
// L1267
DialogDestroy(gv_blinkTagAnchor)
// L1617
DialogDestroy(gv_blinkTagAnchor)
// L1684
DialogDestroy(gv_blinkTagAnchor)
// L2356
DialogDestroy(gv_tTextTagAnchor)
// L2427
DialogDestroy(gv_tTextTagAnchor)
// L2555
DialogDestroy(gv_tTextTagAnchor)
// L3047
DialogDestroy(gv_tTextTagAnchor)
// L3111
DialogDestroy(gv_tTextTagAnchor)
// L3208
DialogDestroy(gv_tTextTagAnchor)
// L3401
DialogDestroy(gv_tTextTagAnchor)
// L628
DialogDestroy(gv_disableDialog[1])
// L644
DialogDestroy(gv_disableDialog[2])
// L660
DialogDestroy(gv_disableDialog[3])
// L678
DialogDestroy(gv_disableDialog[4])