# Destroy Dialog Item

Grammar — Destroy dialogItem
FlagsNative | Action

Destroys the specified dialog item.

# Arguments

  • int [ control ] — Dialog Item

Returns — void

native void DialogControlDestroy(int control);

Category: Dialog / Dialog Item Tools

# Examples

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L5884
DialogControlDestroy(DialogControlLastCreated())
// L5891
DialogControlDestroy(DialogControlLastCreated())

# campaigns/swarm.sc2campaign

MapScript.galaxy

// L1802
DialogControlDestroy(gv_nullZoneBarPanel)
// L1802
DialogControlDestroy(gv_nullZoneBarPanel)

# campaigns/swarmstory.sc2campaign

SwarmCampaignLib.galaxy

// L2916
DialogControlDestroy(lv_damageBar)
// L8441
DialogControlDestroy(DialogControlLastCreated())
// L8444
DialogControlDestroy(DialogControlLastCreated())
// L18201
DialogControlDestroy(lv_damageBar)

# campaigns/swarmstoryutil.sc2mod

Lib281DEC45.galaxy

// L5049
DialogControlDestroy(DialogControlLastCreated())

# campaigns/void.sc2campaign

MapScript.galaxy

// L1468
DialogControlDestroy(gv_textTag)
// L1828
DialogControlDestroy(gv_minimapTextTag)
// L2111
DialogControlDestroy(lv_textTagDialog)
// L2113
DialogControlDestroy(lv_textTagDialogAnchorPoint)
// L1268
DialogControlDestroy(gv_blinkTag)
// L1618
DialogControlDestroy(gv_blinkTag)
// L1685
DialogControlDestroy(gv_blinkTag)
// L2357
DialogControlDestroy(gv_tTextTag)
// L2428
DialogControlDestroy(gv_tTextTag)
// L2556
DialogControlDestroy(gv_tTextTag)
// L3048
DialogControlDestroy(gv_tTextTag)
// L3112
DialogControlDestroy(gv_tTextTag)
// L3209
DialogControlDestroy(gv_tTextTag)
// L3402
DialogControlDestroy(gv_tTextTag)
// L1468
DialogControlDestroy(gv_textTag)
// L1828
DialogControlDestroy(gv_minimapTextTag)
// L2111
DialogControlDestroy(lv_textTagDialog)
// L2113
DialogControlDestroy(lv_textTagDialogAnchorPoint)
// L1268
DialogControlDestroy(gv_blinkTag)
// L1618
DialogControlDestroy(gv_blinkTag)
// L1685
DialogControlDestroy(gv_blinkTag)
// L2357
DialogControlDestroy(gv_tTextTag)
// L2428
DialogControlDestroy(gv_tTextTag)
// L2556
DialogControlDestroy(gv_tTextTag)
// L3048
DialogControlDestroy(gv_tTextTag)
// L3112
DialogControlDestroy(gv_tTextTag)
// L3209
DialogControlDestroy(gv_tTextTag)
// L3402
DialogControlDestroy(gv_tTextTag)

# campaigns/voidstory.sc2campaign

VoidCampaignMissionLib.galaxy

// L7417
DialogControlDestroy(DialogControlLastCreated())
// L7430
DialogControlDestroy(DialogControlLastCreated())

# campaigns/voidstory.sc2campaign

VoidCampaignUILib.galaxy

// L3517
DialogControlDestroy(lv_damageBar)
// L4405
DialogControlDestroy(lv_progressBarPanel)
// L4406
DialogControlDestroy(lv_progressBarProgressBar)
// L4407
DialogControlDestroy(lv_progressBarValue)
// L4408
DialogControlDestroy(lv_progressBarLabel)
// L4633
DialogControlDestroy(libNtve_gf_ValueFromDataTableDialogItem(true, libVCUI_gf_PU_UnitProgressBar_Dialog(lp_unit, libVCUI_ge_PU_UnitProgressBar_DialogTypes_ProgressBar_Bar)))
// L4634
DialogControlDestroy(libNtve_gf_ValueFromDataTableDialogItem(true, libVCUI_gf_PU_UnitProgressBar_Dialog(lp_unit, libVCUI_ge_PU_UnitProgressBar_DialogTypes_ProgressBar_Broder)))
// L4635
DialogControlDestroy(libNtve_gf_ValueFromDataTableDialogItem(true, libVCUI_gf_PU_UnitProgressBar_Dialog(lp_unit, libVCUI_ge_PU_UnitProgressBar_DialogTypes_ProgressBar_Label)))
// L4636
DialogControlDestroy(libNtve_gf_ValueFromDataTableDialogItem(true, libVCUI_gf_PU_UnitProgressBar_Dialog(lp_unit, libVCUI_ge_PU_UnitProgressBar_DialogTypes_ProgressBar_Value)))
// L5236
DialogControlDestroy(libVCUI_gv_pU_TimerWindowHighlightFrame)

# mods/challenges.sc2mod

LibChal.galaxy

// L842
DialogControlDestroy(libChal_gv_cHL_VPWavePanelWaveBGImage[lv_index])
// L848
DialogControlDestroy(libChal_gv_cHL_VPWavePanelWaveButton[lv_index])
// L854
DialogControlDestroy(libChal_gv_cHL_VPWavePanelWaveLabel[lv_index])
// L957
DialogControlDestroy(libChal_gv_cHL_VPAchievePanelAchievements[lv_index])
// L1409
DialogControlDestroy(libChal_gv_cHL_DPWavePanelWaveBGImage[lv_index])
// L1415
DialogControlDestroy(libChal_gv_cHL_DPWavePanelWaveButton[lv_index])
// L1421
DialogControlDestroy(libChal_gv_cHL_DPWavePanelWaveLabel[lv_index])

# mods/core.sc2mod

NativeLib.galaxy

// L4757
DialogControlDestroy(DialogControlLastCreated())
// L4002
DialogControlDestroy(DialogControlLastCreated())

# mods/heroesdata.stormmod

AILib.galaxy

// L1123
DialogControlDestroy(libAIAI_gv_defenderAI[lp_defenderIndex].lv_debugLabel)
// L2159
DialogControlDestroy(libUIUI_gv_lostVikingsDebuggingLabels[lp_trigPlayer].lv_botStatusLabel[1])
// L2160
DialogControlDestroy(libUIUI_gv_lostVikingsDebuggingLabels[lp_trigPlayer].lv_botDifficultyLabel[1])
// L2161
DialogControlDestroy(libUIUI_gv_lostVikingsDebuggingLabels[lp_trigPlayer].lv_botStatusLabel[2])
// L2162
DialogControlDestroy(libUIUI_gv_lostVikingsDebuggingLabels[lp_trigPlayer].lv_botDifficultyLabel[2])
// L2163
DialogControlDestroy(libUIUI_gv_lostVikingsDebuggingLabels[lp_trigPlayer].lv_botStatusLabel[3])
// L2164
DialogControlDestroy(libUIUI_gv_lostVikingsDebuggingLabels[lp_trigPlayer].lv_botDifficultyLabel[3])

# mods/heroesdata.stormmod

MapMechanicsLib.galaxy

// L1303
DialogControlDestroy(libMapM_gv_uIJungleCampPanel.lv_jungleCreepCampsInfoPanel[lp_Camp])

# mods/heroesdata.stormmod

StartingExperienceLib.galaxy

// L211
DialogControlDestroy(libStEx_gv_sE_HintMsgPanel)
// L231
DialogControlDestroy(libStEx_gv_sE_HintMsgPanel)
// L302
DialogControlDestroy(lv_localPanel)

# mods/heroesdata.stormmod

UILib.galaxy

// L1206
DialogControlDestroy(libUIUI_gv_uIBoosts.lv_boostFXPanel[lv_itPlayer][lv_itFrame])

# mods/missionpacks/campaigncommon.sc2mod

LibCMUI.galaxy

// L181
DialogControlDestroy(libNtve_gf_ValueFromDataTableDialogItem(true, libCMUI_gf_CU_UnitProgressBar_Dialog(lp_unit, libCMUI_ge_CU_UnitProgressBar_DialogTypes_ProgressBar_Bar)))
// L182
DialogControlDestroy(libNtve_gf_ValueFromDataTableDialogItem(true, libCMUI_gf_CU_UnitProgressBar_Dialog(lp_unit, libCMUI_ge_CU_UnitProgressBar_DialogTypes_ProgressBar_Broder)))
// L183
DialogControlDestroy(libNtve_gf_ValueFromDataTableDialogItem(true, libCMUI_gf_CU_UnitProgressBar_Dialog(lp_unit, libCMUI_ge_CU_UnitProgressBar_DialogTypes_ProgressBar_Label)))
// L184
DialogControlDestroy(libNtve_gf_ValueFromDataTableDialogItem(true, libCMUI_gf_CU_UnitProgressBar_Dialog(lp_unit, libCMUI_ge_CU_UnitProgressBar_DialogTypes_ProgressBar_Value)))

# mods/missionpacks/novacampaign.sc2mod

LibNCUI.galaxy

// L1038
DialogControlDestroy(libNCUI_gv_nU_MissionBriefing)
// L3113
DialogControlDestroy(lv_damageBar)
// L3687
DialogControlDestroy(libNCUI_gv_nU_TimerWindowHighlightFrame)
// L6856
DialogControlDestroy(lv_damageBar)

# mods/starcoop/starcoop.sc2mod

LibCOUI.galaxy

// L2485
DialogControlDestroy(lv_damageBar)
// L3486
DialogControlDestroy(lv_progressBarPanel)
// L3487
DialogControlDestroy(lv_progressBarProgressBar)
// L3488
DialogControlDestroy(lv_progressBarValue)
// L3489
DialogControlDestroy(lv_progressBarLabel)
// L3714
DialogControlDestroy(libNtve_gf_ValueFromDataTableDialogItem(true, libCOUI_gf_CU_UnitProgressBar_Dialog(lp_unit, libCOUI_ge_CU_UnitProgressBar_DialogTypes_ProgressBar_Bar)))
// L3715
DialogControlDestroy(libNtve_gf_ValueFromDataTableDialogItem(true, libCOUI_gf_CU_UnitProgressBar_Dialog(lp_unit, libCOUI_ge_CU_UnitProgressBar_DialogTypes_ProgressBar_Broder)))
// L3716
DialogControlDestroy(libNtve_gf_ValueFromDataTableDialogItem(true, libCOUI_gf_CU_UnitProgressBar_Dialog(lp_unit, libCOUI_ge_CU_UnitProgressBar_DialogTypes_ProgressBar_Label)))
// L3717
DialogControlDestroy(libNtve_gf_ValueFromDataTableDialogItem(true, libCOUI_gf_CU_UnitProgressBar_Dialog(lp_unit, libCOUI_ge_CU_UnitProgressBar_DialogTypes_ProgressBar_Value)))
// L8141
DialogControlDestroy(lv_damageBar)

# mods/voidprologue.sc2mod

LibA3DDD02B.galaxy

// L1907
DialogControlDestroy(lv_damageBar)
// L8588
DialogControlDestroy(lv_damageBar)