# Set Dialog Item Checked
Grammar — Set dialogItem to checked|Checked Option for players
Flags —Action
Checks or unchecks a dialog item.
# Arguments
int
[ control ] — Dialog Itembool
[ preset::CheckedOption ] — Checkedplayergroup
— Players
Returns — void
void libNtve_gf_SetDialogItemChecked(
int lp_dialogItem,
bool lp_checked,
playergroup lp_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/swarmstory.sc2campaign
// L9778
libNtve_gf_SetDialogItemChecked(libSwaC_gv_zS_ArmyCustomArchivesUpgradeCheck[lv_categoryIndex][lv_upgradeIndex], true, PlayerGroupAll())
// L9781
libNtve_gf_SetDialogItemChecked(libSwaC_gv_zS_ArmyCustomArchivesUpgradeCheck[lv_categoryIndex][lv_upgradeIndex], false, PlayerGroupAll())
// L9799
libNtve_gf_SetDialogItemChecked(libSwaC_gv_zS_ArmyCustomArchivesEvolutionCheck[lv_categoryIndex][lv_evoIndex], true, PlayerGroupAll())
// L9802
libNtve_gf_SetDialogItemChecked(libSwaC_gv_zS_ArmyCustomArchivesEvolutionCheck[lv_categoryIndex][lv_evoIndex], false, PlayerGroupAll())
// L15216
libNtve_gf_SetDialogItemChecked(libSwaC_gv_zS_DebugStoryTechArmyCategoryCheck[lv_categoryIndex], false, PlayerGroupAll())
// L15217
libNtve_gf_SetDialogItemChecked(libSwaC_gv_zS_DebugStoryTechArmyUnitCheck[lv_categoryIndex][1], true, PlayerGroupAll())
// L15218
libNtve_gf_SetDialogItemChecked(libSwaC_gv_zS_DebugStoryTechArmyUnitCheck[lv_categoryIndex][2], false, PlayerGroupAll())
// L15221
libNtve_gf_SetDialogItemChecked(libSwaC_gv_zS_DebugStoryTechArmyCategoryCheck[lv_categoryIndex], false, PlayerGroupAll())
// L15222
libNtve_gf_SetDialogItemChecked(libSwaC_gv_zS_DebugStoryTechArmyUnitCheck[lv_categoryIndex][1], false, PlayerGroupAll())
// L15223
libNtve_gf_SetDialogItemChecked(libSwaC_gv_zS_DebugStoryTechArmyUnitCheck[lv_categoryIndex][2], true, PlayerGroupAll())
# campaigns/swarmstoryutil.sc2mod
// L2343
libNtve_gf_SetDialogItemChecked(lib281DEC45_gv_zSS_DebugStoryAmbientCheckbox[lv_index], true, PlayerGroupAll())
// L2346
libNtve_gf_SetDialogItemChecked(lib281DEC45_gv_zSS_DebugStoryAmbientCheckbox[lv_index], false, PlayerGroupAll())
// L2349
libNtve_gf_SetDialogItemChecked(lib281DEC45_gv_zSS_DebugStoryEnabledCheckbox[lv_index], true, PlayerGroupAll())
// L2352
libNtve_gf_SetDialogItemChecked(lib281DEC45_gv_zSS_DebugStoryEnabledCheckbox[lv_index], false, PlayerGroupAll())
// L7872
libNtve_gf_SetDialogItemChecked(lib281DEC45_gv_zSS_DebugStoryKerriganTypeCheckbox, false, PlayerGroupAll())
// L7875
libNtve_gf_SetDialogItemChecked(lib281DEC45_gv_zSS_DebugStoryKerriganTypeCheckbox, true, PlayerGroupAll())
// L7879
libNtve_gf_SetDialogItemChecked(lib281DEC45_gv_zSS_DebugStoryKerriganTypeCheckbox, false, PlayerGroupAll())
// L7882
libNtve_gf_SetDialogItemChecked(lib281DEC45_gv_zSS_DebugStoryKerriganTypeCheckbox, true, PlayerGroupAll())
# campaigns/voidstory.sc2campaign
// L330
libNtve_gf_SetDialogItemChecked(libVoiC_gv_pC_DebugCampaignTechArmyCategoryCheck[lv_categoryIndex], false, PlayerGroupAll())
// L331
libNtve_gf_SetDialogItemChecked(libVoiC_gv_pC_DebugCampaignTechArmyUnitCheck[lv_categoryIndex][1], true, PlayerGroupAll())
// L332
libNtve_gf_SetDialogItemChecked(libVoiC_gv_pC_DebugCampaignTechArmyUnitCheck[lv_categoryIndex][2], false, PlayerGroupAll())
// L333
libNtve_gf_SetDialogItemChecked(libVoiC_gv_pC_DebugCampaignTechArmyUnitCheck[lv_categoryIndex][3], false, PlayerGroupAll())
// L336
libNtve_gf_SetDialogItemChecked(libVoiC_gv_pC_DebugCampaignTechArmyCategoryCheck[lv_categoryIndex], false, PlayerGroupAll())
// L337
libNtve_gf_SetDialogItemChecked(libVoiC_gv_pC_DebugCampaignTechArmyUnitCheck[lv_categoryIndex][1], false, PlayerGroupAll())
// L338
libNtve_gf_SetDialogItemChecked(libVoiC_gv_pC_DebugCampaignTechArmyUnitCheck[lv_categoryIndex][2], true, PlayerGroupAll())
// L339
libNtve_gf_SetDialogItemChecked(libVoiC_gv_pC_DebugCampaignTechArmyUnitCheck[lv_categoryIndex][3], false, PlayerGroupAll())
// L342
libNtve_gf_SetDialogItemChecked(libVoiC_gv_pC_DebugCampaignTechArmyCategoryCheck[lv_categoryIndex], false, PlayerGroupAll())
// L343
libNtve_gf_SetDialogItemChecked(libVoiC_gv_pC_DebugCampaignTechArmyUnitCheck[lv_categoryIndex][1], false, PlayerGroupAll())
# campaigns/voidstory.sc2campaign
— VoidCampaignMissionLib.galaxy
// L6136
libNtve_gf_SetDialogItemChecked(libVCMI_gv_pM_GameCheat_CheckBox[auto4E6B6E6D_var], true, PlayerGroupAll())
// L6139
libNtve_gf_SetDialogItemChecked(libVCMI_gv_pM_GameCheat_CheckBox[auto4E6B6E6D_var], false, PlayerGroupAll())
// L6309
libNtve_gf_SetDialogItemChecked(libVCMI_gv_pM_GameCheat_CheckBox[auto731EB4A6_var], true, PlayerGroupSingle(1))
// L6312
libNtve_gf_SetDialogItemChecked(libVCMI_gv_pM_GameCheat_CheckBox[auto731EB4A6_var], false, PlayerGroupSingle(1))
# campaigns/voidstory.sc2campaign
// L4754
libNtve_gf_SetDialogItemChecked(DialogControlLastCreated(), true, PlayerGroupAll())
// L4761
libNtve_gf_SetDialogItemChecked(DialogControlLastCreated(), true, PlayerGroupAll())
# mods/core.sc2mod
// L2631
libNtve_gf_SetDialogItemChecked(lv_dialogitem, lp_checked, PlayerGroupAll())
// L2084
libNtve_gf_SetDialogItemChecked(lv_dialogitem, lp_checked, PlayerGroupAll())
# mods/heroes.stormmod
// L586
libNtve_gf_SetDialogItemChecked(gv_tryMeModePanel.lv_toggleMinionsCheck, true, PlayerGroupAll())
// L623
libNtve_gf_SetDialogItemChecked(gv_tryMeModePanel.lv_toggleMinionsCheck, false, PlayerGroupAll())
// L1863
libNtve_gf_SetDialogItemChecked(gv_tryMeModePanel.lv_shortCooldownCheck, true, PlayerGroupAll())
// L1870
libNtve_gf_SetDialogItemChecked(gv_tryMeModePanel.lv_shortCooldownCheck, false, PlayerGroupAll())
// L586
libNtve_gf_SetDialogItemChecked(gv_tryMeModePanel.lv_toggleMinionsCheck, true, PlayerGroupAll())
// L623
libNtve_gf_SetDialogItemChecked(gv_tryMeModePanel.lv_toggleMinionsCheck, false, PlayerGroupAll())
// L1863
libNtve_gf_SetDialogItemChecked(gv_tryMeModePanel.lv_shortCooldownCheck, true, PlayerGroupAll())
// L1870
libNtve_gf_SetDialogItemChecked(gv_tryMeModePanel.lv_shortCooldownCheck, false, PlayerGroupAll())
# mods/heroesdata.stormmod
// L1402
libNtve_gf_SetDialogItemChecked(libUIUI_gv_uIDebugPanel.lv_selectionEnabledCheckbox, true, PlayerGroupAll())
// L1409
libNtve_gf_SetDialogItemChecked(libUIUI_gv_uIDebugPanel.lv_selectionEnabledCheckbox, false, PlayerGroupAll())
// L1438
libNtve_gf_SetDialogItemChecked(libUIUI_gv_uIDebugPanel.lv_spawnAtCameraCheckbox, true, PlayerGroupAll())
// L1442
libNtve_gf_SetDialogItemChecked(libUIUI_gv_uIDebugPanel.lv_spawnAtCameraCheckbox, false, PlayerGroupAll())
// L1471
libNtve_gf_SetDialogItemChecked(libUIUI_gv_uIDebugPanel.lv_disableMinionSpawningCheckbox, false, PlayerGroupAll())
// L1476
libNtve_gf_SetDialogItemChecked(libUIUI_gv_uIDebugPanel.lv_disableMinionSpawningCheckbox, true, PlayerGroupAll())
// L1507
libNtve_gf_SetDialogItemChecked(libUIUI_gv_uIDebugPanel.lv_disableTrickleXPCheckbox, true, PlayerGroupAll())
// L1510
libNtve_gf_SetDialogItemChecked(libUIUI_gv_uIDebugPanel.lv_disableTrickleXPCheckbox, false, PlayerGroupAll())
// L1539
libNtve_gf_SetDialogItemChecked(libUIUI_gv_uIDebugPanel.lv_floatingCombatTextCheckbox, false, PlayerGroupAll())
// L1545
libNtve_gf_SetDialogItemChecked(libUIUI_gv_uIDebugPanel.lv_floatingCombatTextCheckbox, true, PlayerGroupAll())
# mods/heroesdata.stormmod
// L1963
libNtve_gf_SetDialogItemChecked(libUIUI_gv_uIDebugPanel.lv_enableAllFloatingCombatTextCheckbox, true, PlayerGroupAll())
// L1967
libNtve_gf_SetDialogItemChecked(libUIUI_gv_uIDebugPanel.lv_disableTrickleXPCheckbox, true, PlayerGroupAll())
// L1971
libNtve_gf_SetDialogItemChecked(libUIUI_gv_uIDebugPanel.lv_spawnAtCameraCheckbox, true, PlayerGroupAll())
// L1975
libNtve_gf_SetDialogItemChecked(libUIUI_gv_uIDebugPanel.lv_disableMinionSpawningCheckbox, true, PlayerGroupAll())
// L1979
libNtve_gf_SetDialogItemChecked(libUIUI_gv_uIDebugPanel.lv_savedHeroCheckbox, true, PlayerGroupAll())
// L9656
libNtve_gf_SetDialogItemChecked(DialogControlLastCreated(), true, PlayerGroupAll())
// L9659
libNtve_gf_SetDialogItemChecked(DialogControlLastCreated(), false, PlayerGroupAll())
# mods/missionpacks/novacampaign.sc2mod
// L5076
libNtve_gf_SetDialogItemChecked(libNCMI_gv_NM_GameCheat_CheckBox[IntLoopCurrent()], true, PlayerGroupAll())
// L5079
libNtve_gf_SetDialogItemChecked(libNCMI_gv_NM_GameCheat_CheckBox[IntLoopCurrent()], false, PlayerGroupAll())
// L5245
libNtve_gf_SetDialogItemChecked(libNCMI_gv_NM_GameCheat_CheckBox[IntLoopCurrent()], true, PlayerGroupSingle(1))
// L5248
libNtve_gf_SetDialogItemChecked(libNCMI_gv_NM_GameCheat_CheckBox[IntLoopCurrent()], false, PlayerGroupSingle(1))
# mods/missionpacks/novacampaign.sc2mod
// L4128
libNtve_gf_SetDialogItemChecked(DialogControlLastCreated(), true, PlayerGroupAll())
// L4135
libNtve_gf_SetDialogItemChecked(DialogControlLastCreated(), true, PlayerGroupAll())
# mods/missionpacks/novacampaign.sc2mod
// L341
libNtve_gf_SetDialogItemChecked(libNovC_gv_nC_DebugCampaignTechEquipmentCheckBox[lv_equipmentGroupIndex][lv_equipmentIndex], true, PlayerGroupAll())
// L368
libNtve_gf_SetDialogItemChecked(libNovC_gv_nC_DebugCampaignTechUpgradesCheckBox[lv_armyUnitIndex], true, PlayerGroupAll())
// L371
libNtve_gf_SetDialogItemChecked(libNovC_gv_nC_DebugCampaignTechUpgradesCheckBox[lv_armyUnitIndex], false, PlayerGroupAll())
// L2628
libNtve_gf_SetDialogItemChecked(libNovC_gv_nC_DebugCampaignTechEquipmentCheckBox[lv_equipmentGroupIndex][lv_equipmentInnerLoopIndex], false, PlayerGroupAll())
// L2688
libNtve_gf_SetDialogItemChecked(libNovC_gv_nC_DebugCampaignTechEquipmentCheckBox[lv_equipmentGroupIndex][lv_equipmentIndex], false, PlayerGroupAll())
// L2699
libNtve_gf_SetDialogItemChecked(libNovC_gv_nC_DebugCampaignTechEquipmentCheckBox[lv_equipmentGroupIndex][RandomInt(1, lv_equipmentInGroupCount[lv_equipmentGroupIndex])], true, PlayerGroupAll())
// L2806
libNtve_gf_SetDialogItemChecked(libNovC_gv_nC_DebugCampaignTechUpgradesCheckBox[lv_armyUnitInnerLoopIndex], false, PlayerGroupAll())
# mods/starcoop/starcoop.sc2mod
// L830
libNtve_gf_SetDialogItemChecked(libCOUI_gv_cU_CommanderMasteryCheckbox, true, PlayerGroupAll())
// L1226
libNtve_gf_SetDialogItemChecked(libCOUI_gv_cU_MutatorCheckboxes[lv_mutatorCount], true, lv_updatePlayers)
// L1229
libNtve_gf_SetDialogItemChecked(libCOUI_gv_cU_MutatorCheckboxes[lv_mutatorCount], false, lv_updatePlayers)