# Remove All List Items
Grammar — Remove all items from list for players
Flags —Native
|Action
Removes all of the list items from the specified dialog item.
# Arguments
int
[ control ] — Listplayergroup
— Players
Returns — void
native void DialogControlRemoveAllItems(
int control,
playergroup players,
);
# Related
Category: Dialog / Dialog Item Values
- [F] —
void
— Set Dialog Item Current Value — ( libNtve_gf_SetDialogItemCurrentValue ) - [F] —
void
— Set Dialog Item Minimum Value — ( libNtve_gf_SetDialogItemMinimumValue ) - [F] —
void
— Set Dialog Item Maximum Value — ( libNtve_gf_SetDialogItemMaximumValue ) - [F] —
void
— Set Dialog Item Checked — ( libNtve_gf_SetDialogItemChecked ) - [F] —
void
— Set Dialog Item Edit Value — ( libNtve_gf_SetDialogItemEditorValue ) - [F] —
fixed
— Dialog Item Current Value — ( libNtve_gf_DialogItemValue ) - [F] —
fixed
— Dialog Item Maximum Value — ( libNtve_gf_DialogItemMaximumValue ) - [F] —
fixed
— Dialog Item Minimum Value — ( libNtve_gf_DialogItemMinimumValue ) - [F] —
bool
— Dialog Item Is Checked — ( libNtve_gf_DialogItemIsChecked ) - [F] —
string
— Dialog Item Edit Value — ( libNtve_gf_DialogItemEditValue ) - [F] —
void
— Add List Item — ( DialogControlAddItem ) - [F] —
void
— Select List Item — ( DialogControlSelectItem ) - [F] —
void
— Clear List Selection — ( DialogControlClearSelectedItem ) - [F] —
int
— Selected List Item — ( DialogControlGetSelectedItem ) - [F] —
int
— Count Of List Items — ( DialogControlGetItemCount ) - [F] —
void
— Remove List Item — ( DialogControlRemoveItem ) - [F] —
void
— Remove All List Items — ( DialogControlRemoveAllItems ) - [F] —
void
— Add Graph Data Point — ( DialogControlAddDataPoint ) - [F] —
void
— Remove All Graph Data Points — ( DialogControlRemoveAllDataPoints ) - [F] —
void
— Set Graph Data Color — ( DialogControlSetDataColor ) - [F] —
void
— Set Graph Data Name — ( DialogControlSetDataName ) - [F] —
void
— Set Graph Minimum X Visible — ( DialogControlSetMinXVisible ) - [F] —
fixed
— Get Graph Minimum X Value — ( DialogControlGetMinXValue ) - [F] —
void
— Set Graph Maximum X Visible — ( DialogControlSetMaxXVisible ) - [F] —
fixed
— Get Graph Maximum X Value — ( DialogControlGetMaxXValue ) - [F] —
void
— Set Graph Minimum Y Visible — ( DialogControlSetMinYVisible ) - [F] —
fixed
— Get Graph Minimum Y Value — ( DialogControlGetMinYValue ) - [F] —
void
— Set Graph Maximum Y Visible — ( DialogControlSetMaxYVisible ) - [F] —
fixed
— Get Graph Maximum Y Value — ( DialogControlGetMaxYValue )
# Examples
# campaigns/swarmstoryutil.sc2mod
// L2310
DialogControlRemoveAllItems(lib281DEC45_gv_zSS_DebugStorySceneList, PlayerGroupAll())
# campaigns/voidstory.sc2campaign
// L156
DialogControlRemoveAllItems(libVCST_gv_pS_DebugStorySceneList, PlayerGroupAll())
// L192
DialogControlRemoveAllItems(libVCST_gv_pS_DebugStoryPreviewList, PlayerGroupAll())
# mods/heroes.stormmod
// 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
// 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
// L154
DialogControlRemoveAllItems(libNCST_gv_nS_DebugStorySceneList, PlayerGroupAll())
// L191
DialogControlRemoveAllItems(libNCST_gv_nS_DebugStoryPreviewList, PlayerGroupAll())
# mods/starcoop/starcoop.sc2mod
// L541
DialogControlRemoveAllItems(libCOUI_gv_cU_AIChoiceListBox, PlayerGroupAll())
// L884
DialogControlRemoveAllItems(libCOUI_gv_cU_CommanderMutatorChallengePulldown, PlayerGroupAll())