# Set Dialog Item Desaturation Color

Grammar — Set dialogItem Desaturation Color to color for players
FlagsAction

Sets the color a dialog item will be tinted if it is flagged as desaturated.

# Arguments

  • int<control> — Dialog Item
  • color — Color
  • playergroup — Players

Returns — void

void libNtve_gf_SetDialogItemDesaturationColor(
	int lp_dialogItem,
	color lp_color,
	playergroup lp_players,
);

Category: Dialog / Dialog Item Tools

# Examples

mods/heroesbrawlmods/brawlmapmods/coop/pvebrawluimod.stormmodbase.stormdata/LibPBUI.galaxy:548

        if ((lp_desaturated == true)) {
            libNtve_gf_SetDialogItemDesaturated(libPBUI_gv_curateHeroSelectionUI.lv_heroButtonImages[lp_row][lp_column], true, lp_forPlayers);
            libNtve_gf_SetDialogItemDesaturationColor(libPBUI_gv_curateHeroSelectionUI.lv_heroButtonImages[lp_row][lp_column], Color(78.43, 78.43, 78.43), lp_forPlayers);
        }
        else {

mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmodbase.stormdata/LibPVEU.galaxy:536

        if ((lp_desaturated == true)) {
            libNtve_gf_SetDialogItemDesaturated(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_heroButtonImages[lp_row][lp_column], true, lp_forPlayers);
            libNtve_gf_SetDialogItemDesaturationColor(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_heroButtonImages[lp_row][lp_column], Color(78.43, 78.43, 78.43), lp_forPlayers);
        }
        else {