# Set Dialog Item Minimum Value
Grammar — Set dialogItem minimum value to minValue|Min Value for players
Flags —Action
Sets the minimum value for a dialog item.
# Arguments
int
<control> — Dialog Itemfixed
— MinValueplayergroup
— Players
Returns — void
void libNtve_gf_SetDialogItemMinimumValue(
int lp_dialogItem,
fixed lp_minValue,
playergroup lp_players,
);
# Related
Category: Dialog / Dialog Item Values
- Set Dialog Item Current Value —
void
— libNtve_gf_SetDialogItemCurrentValue - Set Dialog Item Minimum Value —
void
— libNtve_gf_SetDialogItemMinimumValue - Set Dialog Item Maximum Value —
void
— libNtve_gf_SetDialogItemMaximumValue - Set Dialog Item Checked —
void
— libNtve_gf_SetDialogItemChecked - Set Dialog Item Edit Value —
void
— libNtve_gf_SetDialogItemEditorValue - Dialog Item Current Value —
fixed
— libNtve_gf_DialogItemValue - Dialog Item Maximum Value —
fixed
— libNtve_gf_DialogItemMaximumValue - Dialog Item Minimum Value —
fixed
— libNtve_gf_DialogItemMinimumValue - Dialog Item Is Checked —
bool
— libNtve_gf_DialogItemIsChecked - Dialog Item Edit Value —
string
— libNtve_gf_DialogItemEditValue - Add List Item —
void
— DialogControlAddItem - Select List Item —
void
— DialogControlSelectItem - Clear List Selection —
void
— DialogControlClearSelectedItem - Selected List Item —
int
— DialogControlGetSelectedItem - Count Of List Items —
int
— DialogControlGetItemCount - Remove List Item —
void
— DialogControlRemoveItem - Remove All List Items —
void
— DialogControlRemoveAllItems - Add Graph Data Point —
void
— DialogControlAddDataPoint - Remove All Graph Data Points —
void
— DialogControlRemoveAllDataPoints - Set Graph Data Color —
void
— DialogControlSetDataColor - Set Graph Data Name —
void
— DialogControlSetDataName - Set Graph Minimum X Visible —
void
— DialogControlSetMinXVisible - Get Graph Minimum X Value —
fixed
— DialogControlGetMinXValue - Set Graph Maximum X Visible —
void
— DialogControlSetMaxXVisible - Get Graph Maximum X Value —
fixed
— DialogControlGetMaxXValue - Set Graph Minimum Y Visible —
void
— DialogControlSetMinYVisible - Get Graph Minimum Y Value —
fixed
— DialogControlGetMinYValue - Set Graph Maximum Y Visible —
void
— DialogControlSetMaxYVisible - Get Graph Maximum Y Value —
fixed
— DialogControlGetMaxYValue
# Examples
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:2772
DialogControlHookup(lv_panels[lv_currentPanelLayer], c_triggerControlTypeSlider, "LevelSlider");
gv_tryMeModePanel.lv_levelSlider = DialogControlLastCreated();
libNtve_gf_SetDialogItemMinimumValue(DialogControlLastCreated(), 1.0, PlayerGroupAll());
libNtve_gf_SetDialogItemMaximumValue(DialogControlLastCreated(), gv_heroMaxLevel_C, PlayerGroupAll());
DialogControlHookup(lv_panels[lv_currentPanelLayer], c_triggerControlTypeLabel, "LevelLabel");
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:2816
DialogControlHookup(lv_panels[lv_currentPanelLayer], c_triggerControlTypeSlider, "SpeedSlider");
gv_tryMeModePanel.lv_gameSpeedSlider = DialogControlLastCreated();
libNtve_gf_SetDialogItemMinimumValue(DialogControlLastCreated(), 1.0, PlayerGroupAll());
libNtve_gf_SetDialogItemMaximumValue(DialogControlLastCreated(), gv_gameMaxSpeed_C, PlayerGroupAll());
DialogControlHookup(lv_panels[lv_currentPanelLayer], c_triggerControlTypeLabel, "SpeedLabel");
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmap — map/MapScript.galaxy:2772
DialogControlHookup(lv_panels[lv_currentPanelLayer], c_triggerControlTypeSlider, "LevelSlider");
gv_tryMeModePanel.lv_levelSlider = DialogControlLastCreated();
libNtve_gf_SetDialogItemMinimumValue(DialogControlLastCreated(), 1.0, PlayerGroupAll());
libNtve_gf_SetDialogItemMaximumValue(DialogControlLastCreated(), gv_heroMaxLevel_C, PlayerGroupAll());
DialogControlHookup(lv_panels[lv_currentPanelLayer], c_triggerControlTypeLabel, "LevelLabel");
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmap — map/MapScript.galaxy:2816
DialogControlHookup(lv_panels[lv_currentPanelLayer], c_triggerControlTypeSlider, "SpeedSlider");
gv_tryMeModePanel.lv_gameSpeedSlider = DialogControlLastCreated();
libNtve_gf_SetDialogItemMinimumValue(DialogControlLastCreated(), 1.0, PlayerGroupAll());
libNtve_gf_SetDialogItemMaximumValue(DialogControlLastCreated(), gv_gameMaxSpeed_C, PlayerGroupAll());
DialogControlHookup(lv_panels[lv_currentPanelLayer], c_triggerControlTypeLabel, "SpeedLabel");
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:9645
libUIUI_gv_uIDebugPanel.lv_playerLabel = DialogControlLastCreated();
DialogControlHookup(lv_panels[lv_currentPanelLayer], c_triggerControlTypeSlider, "PlayerSlider");
libNtve_gf_SetDialogItemMinimumValue(DialogControlLastCreated(), 1.0, PlayerGroupAll());
libNtve_gf_SetDialogItemMaximumValue(DialogControlLastCreated(), libCore_gv_bALMaxPlayers, PlayerGroupAll());
libUIUI_gv_uIDebugPanel.lv_playerSlider = DialogControlLastCreated();
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:9651
libUIUI_gv_uIDebugPanel.lv_levelLabel = DialogControlLastCreated();
DialogControlHookup(lv_panels[lv_currentPanelLayer], c_triggerControlTypeSlider, "LevelSlider");
libNtve_gf_SetDialogItemMinimumValue(DialogControlLastCreated(), 1.0, PlayerGroupAll());
libNtve_gf_SetDialogItemMaximumValue(DialogControlLastCreated(), libCore_gv_bALMaxLevel, PlayerGroupAll());
libUIUI_gv_uIDebugPanel.lv_levelSlider = DialogControlLastCreated();
mods/heroesmapmods/battlegroundmapmods/skytemple.stormmod — base.stormdata/LibMLCP.galaxy:3098
lv_itTemplIndex = 1;
for ( ; ( (auto220F810A_ai >= 0 && lv_itTemplIndex <= auto220F810A_ae) || (auto220F810A_ai < 0 && lv_itTemplIndex >= auto220F810A_ae) ) ; lv_itTemplIndex += auto220F810A_ai ) {
libNtve_gf_SetDialogItemMinimumValue(libMLCP_gv_mMSkyTemplePanelIcons[lv_itTemplIndex].lv_shrineProgress, 0.0, PlayerGroupAll());
libNtve_gf_SetDialogItemMaximumValue(libMLCP_gv_mMSkyTemplePanelIcons[lv_itTemplIndex].lv_shrineProgress, libMLCP_gv_mMSkyTempleTempleStageDuration_C, PlayerGroupAll());
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOUI.galaxy:604
DialogControlSetSize(libCOUI_gv_cU_RandomMutationSelectMinSlider, PlayerGroupAll(), 450, 50);
DialogControlSetPosition(libCOUI_gv_cU_RandomMutationSelectMinSlider, PlayerGroupAll(), c_anchorTop, 0, 40);
libNtve_gf_SetDialogItemMinimumValue(libCOUI_gv_cU_RandomMutationSelectMinSlider, 0.0, PlayerGroupAll());
libNtve_gf_SetDialogItemMaximumValue(libCOUI_gv_cU_RandomMutationSelectMinSlider, lv_maxPoints, PlayerGroupAll());
libNtve_gf_SetDialogItemCurrentValue(libCOUI_gv_cU_RandomMutationSelectMinSlider, 0.0, PlayerGroupAll());
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOUI.galaxy:611
DialogControlSetSize(libCOUI_gv_cU_RandomMutationSelectMaxSlider, PlayerGroupAll(), 450, 50);
DialogControlSetPosition(libCOUI_gv_cU_RandomMutationSelectMaxSlider, PlayerGroupAll(), c_anchorTop, 0, 90);
libNtve_gf_SetDialogItemMinimumValue(libCOUI_gv_cU_RandomMutationSelectMaxSlider, 0.0, PlayerGroupAll());
libNtve_gf_SetDialogItemMaximumValue(libCOUI_gv_cU_RandomMutationSelectMaxSlider, lv_maxPoints, PlayerGroupAll());
libNtve_gf_SetDialogItemCurrentValue(libCOUI_gv_cU_RandomMutationSelectMaxSlider, 0.0, PlayerGroupAll());
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOUI.galaxy:618
DialogControlSetSize(libCOUI_gv_cU_RandomMutationSelectMinMutSlider, PlayerGroupAll(), 450, 50);
DialogControlSetPosition(libCOUI_gv_cU_RandomMutationSelectMinMutSlider, PlayerGroupAll(), c_anchorTop, 0, 140);
libNtve_gf_SetDialogItemMinimumValue(libCOUI_gv_cU_RandomMutationSelectMinMutSlider, 1.0, PlayerGroupAll());
libNtve_gf_SetDialogItemMaximumValue(libCOUI_gv_cU_RandomMutationSelectMinMutSlider, 4.0, PlayerGroupAll());
libNtve_gf_SetDialogItemCurrentValue(libCOUI_gv_cU_RandomMutationSelectMinMutSlider, 1.0, PlayerGroupAll());
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOUI.galaxy:625
DialogControlSetSize(libCOUI_gv_cU_RandomMutationSelectMaxMutSlider, PlayerGroupAll(), 450, 50);
DialogControlSetPosition(libCOUI_gv_cU_RandomMutationSelectMaxMutSlider, PlayerGroupAll(), c_anchorTop, 0, 190);
libNtve_gf_SetDialogItemMinimumValue(libCOUI_gv_cU_RandomMutationSelectMaxMutSlider, 1.0, PlayerGroupAll());
libNtve_gf_SetDialogItemMaximumValue(libCOUI_gv_cU_RandomMutationSelectMaxMutSlider, 4.0, PlayerGroupAll());
libNtve_gf_SetDialogItemCurrentValue(libCOUI_gv_cU_RandomMutationSelectMaxMutSlider, 1.0, PlayerGroupAll());