# Dialog Item Current Value

Grammar — Current value of dialogItem for player
FlagsFunction

Returns the current value that is set for a dialog item.

# Arguments

  • int [ control ] — Dialog Item
  • int — Player

Returns — fixed

fixed libNtve_gf_DialogItemValue(
	int lp_dialogItem,
	int lp_player,
);

Category: Dialog / Dialog Item Values

# Examples

# mods/heroes.stormmod

MapScript.galaxy

// L658
libNtve_gf_DialogItemValue(gv_tryMeModePanel.lv_levelSlider, gv_pLAYER_TryMe_C)
// L937
libNtve_gf_DialogItemValue(gv_tryMeModePanel.lv_gameSpeedSlider, gv_pLAYER_TryMe_C)
// L2014
libNtve_gf_DialogItemValue(gv_tryMeModePanel.lv_levelSlider, gv_pLAYER_TryMe_C)
// L2258
libNtve_gf_DialogItemValue(gv_tryMeModePanel.lv_gameSpeedSlider, 1)
// L2286
libNtve_gf_DialogItemValue(gv_tryMeModePanel.lv_levelSlider, gv_pLAYER_TryMe_C)
// L658
libNtve_gf_DialogItemValue(gv_tryMeModePanel.lv_levelSlider, gv_pLAYER_TryMe_C)
// L937
libNtve_gf_DialogItemValue(gv_tryMeModePanel.lv_gameSpeedSlider, gv_pLAYER_TryMe_C)
// L2014
libNtve_gf_DialogItemValue(gv_tryMeModePanel.lv_levelSlider, gv_pLAYER_TryMe_C)
// L2258
libNtve_gf_DialogItemValue(gv_tryMeModePanel.lv_gameSpeedSlider, 1)
// L2286
libNtve_gf_DialogItemValue(gv_tryMeModePanel.lv_levelSlider, gv_pLAYER_TryMe_C)

# mods/heroesdata.stormmod

UILib.galaxy

// L2026
libNtve_gf_DialogItemValue(libUIUI_gv_uIDebugPanel.lv_levelSlider, lp_localPlayer)
// L10243
libNtve_gf_DialogItemValue(EventDialogControl(), EventPlayer())
// L10275
libNtve_gf_DialogItemValue(EventDialogControl(), EventPlayer())
// L10995
libNtve_gf_DialogItemValue(libUIUI_gv_uIDebugPanel.lv_playerSlider, lv_triggeringPlayer)
// L11000
libNtve_gf_DialogItemValue(libUIUI_gv_uIDebugPanel.lv_levelSlider, lv_triggeringPlayer)

# mods/starcoop/starcoop.sc2mod

LibCOUI.galaxy

// L632
libNtve_gf_DialogItemValue(libCOUI_gv_cU_RandomMutationSelectMinSlider, 1)
// L632
libNtve_gf_DialogItemValue(libCOUI_gv_cU_RandomMutationSelectMaxSlider, 1)
// L6549
libNtve_gf_DialogItemValue(libCOUI_gv_cU_RandomMutationSelectMinSlider, EventPlayer())
// L6550
libNtve_gf_DialogItemValue(libCOUI_gv_cU_RandomMutationSelectMaxSlider, EventPlayer())
// L6551
libNtve_gf_DialogItemValue(libCOUI_gv_cU_RandomMutationSelectMinMutSlider, EventPlayer())
// L6552
libNtve_gf_DialogItemValue(libCOUI_gv_cU_RandomMutationSelectMaxMutSlider, EventPlayer())
// L6554
libNtve_gf_DialogItemValue(libCOUI_gv_cU_RandomMutationSelectMinSlider, EventPlayer())
// L6555
libNtve_gf_DialogItemValue(libCOUI_gv_cU_RandomMutationSelectMaxSlider, EventPlayer())
// L6616
libNtve_gf_DialogItemValue(libCOUI_gv_cU_RandomMutationSelectMinSlider, 1)
// L6616
libNtve_gf_DialogItemValue(libCOUI_gv_cU_RandomMutationSelectMaxSlider, 1)

# mods/warcoop/warcoopdata.sc2mod

WarCoopData.galaxy

// L3321
libNtve_gf_DialogItemValue(libWCdr_gv_debugHeroSelectUI.lv_optionsPanel.lv_difficultySlider, 1)