# Remove All List Items

Grammar — Remove all items from list for players
FlagsNative | Action

Removes all of the list items from the specified dialog item.

# Arguments

  • int [ control ] — List
  • playergroup — Players

Returns — void

native void DialogControlRemoveAllItems(
	int control,
	playergroup players,
);

Category: Dialog / Dialog Item Values

# Examples

# campaigns/swarmstoryutil.sc2mod

Lib281DEC45.galaxy

// L2310
DialogControlRemoveAllItems(lib281DEC45_gv_zSS_DebugStorySceneList, PlayerGroupAll())

# campaigns/voidstory.sc2campaign

VoidCampaignStoryLib.galaxy

// L156
DialogControlRemoveAllItems(libVCST_gv_pS_DebugStorySceneList, PlayerGroupAll())
// L192
DialogControlRemoveAllItems(libVCST_gv_pS_DebugStoryPreviewList, PlayerGroupAll())

# mods/heroes.stormmod

MapScript.galaxy

// L764
DialogControlRemoveAllItems(gv_tryMeModePanel.lv_changeAllyPulldown, PlayerGroupAll())
// L806
DialogControlRemoveAllItems(gv_tryMeModePanel.lv_changeEnemyPulldown, PlayerGroupAll())
// L764
DialogControlRemoveAllItems(gv_tryMeModePanel.lv_changeAllyPulldown, PlayerGroupAll())
// L806
DialogControlRemoveAllItems(gv_tryMeModePanel.lv_changeEnemyPulldown, PlayerGroupAll())

# mods/heroesdata.stormmod

UILib.galaxy

// L2052
DialogControlRemoveAllItems(libUIUI_gv_uIDebugPanel.lv_heroDropdown, libCore_gv_playerGroupFromPlayer[lp_player])
// L2053
DialogControlRemoveAllItems(libUIUI_gv_uIDebugPanel.lv_voiceLineRadioHeroDropdown, libCore_gv_playerGroupFromPlayer[lp_player])
// L2080
DialogControlRemoveAllItems(libUIUI_gv_uIDebugPanel.lv_skinDropdown, libCore_gv_playerGroupFromPlayer[lp_player])
// L2111
DialogControlRemoveAllItems(libUIUI_gv_uIDebugPanel.lv_mountTypeDropdown, libCore_gv_playerGroupFromPlayer[lp_player])
// L2147
DialogControlRemoveAllItems(libUIUI_gv_uIDebugPanel.lv_mountBaseDropdown, libCore_gv_playerGroupFromPlayer[lp_player])
// L2185
DialogControlRemoveAllItems(libUIUI_gv_uIDebugPanel.lv_mountVariationDropdown, libCore_gv_playerGroupFromPlayer[lp_player])
// L2223
DialogControlRemoveAllItems(lv_dropdown, libCore_gv_playerGroupFromPlayer[lp_player])
// L2249
DialogControlRemoveAllItems(lv_dropdown, libCore_gv_playerGroupFromPlayer[lp_player])
// L2275
DialogControlRemoveAllItems(lv_dropdown, libCore_gv_playerGroupFromPlayer[lp_player])
// L2309
DialogControlRemoveAllItems(libUIUI_gv_uIDebugPanel.lv_announcerPackDropdown, libCore_gv_playerGroupFromPlayer[lp_player])

# mods/missionpacks/novacampaign.sc2mod

LibNCST.galaxy

// L154
DialogControlRemoveAllItems(libNCST_gv_nS_DebugStorySceneList, PlayerGroupAll())
// L191
DialogControlRemoveAllItems(libNCST_gv_nS_DebugStoryPreviewList, PlayerGroupAll())

# mods/starcoop/starcoop.sc2mod

LibCOUI.galaxy

// L541
DialogControlRemoveAllItems(libCOUI_gv_cU_AIChoiceListBox, PlayerGroupAll())
// L884
DialogControlRemoveAllItems(libCOUI_gv_cU_CommanderMutatorChallengePulldown, PlayerGroupAll())