# Set Dialog Item Minimum Value

Grammar — Set dialogItem minimum value to minValue|Min Value for players
FlagsAction

Sets the minimum value for a dialog item.

# Arguments

  • int<control> — Dialog Item
  • fixed — MinValue
  • playergroup — Players

Returns — void

void libNtve_gf_SetDialogItemMinimumValue(
	int lp_dialogItem,
	fixed lp_minValue,
	playergroup lp_players,
);

Category: Dialog / Dialog Item Values

# Examples

mods/heroes.stormmodbase.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.stormmodbase.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.stormmapmap/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.stormmapmap/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.stormmodbase.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.stormmodbase.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.stormmodbase.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.sc2modbase.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.sc2modbase.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.sc2modbase.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.sc2modbase.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());