# Set Dialog Item Desaturated
Grammar — Set dialogItem Desaturated flag to desaturated for players
Flags —Action
Set a Trigger Dialog Item to render with all of its native coloring stripped off and instead being tinted to the Desaturation Color. By default this color is white.
# Arguments
int
[ control ] — Dialog Itembool
— Desaturatedplayergroup
— Players
Returns — void
void libNtve_gf_SetDialogItemDesaturated(
int lp_dialogItem,
bool lp_desaturated,
playergroup lp_players,
);
# Related
Category: Dialog / Dialog Item Tools
- [F] —
void
— Dialog Item Send Animation Event 2 — ( DialogControlSetAnimationState ) - [F] —
void
— Position Subtitle to Dialog Item — ( DialogSetSubtitlePositionOverrideControl ) - [F] —
void
— Clear Subtitle Position Dialog Item — ( DialogClearSubtitlePositionOverrideControl ) - [F] —
void
— Destroy All Dialog Items — ( DialogControlDestroyAll ) - [F] —
int
[ dialog ] — Dialog Containing Dialog Item — ( DialogControlGetDialog ) - [F] —
int
[ preset::ControlType ] — Dialog Item Type — ( DialogControlGetType ) - [F] —
void
— Set Dialog Item Color — ( libNtve_gf_SetDialogItemColor ) - [F] —
void
— Set Dialog Item Style — ( libNtve_gf_SetDialogItemStyle ) - [F] —
void
— Set Dialog Item Text Writeout — ( libNtve_gf_SetDialogItemTextWriteout ) - [F] —
void
— Set Dialog Item Text Writeout Duration — ( libNtve_gf_SetDialogItemTextWriteoutDuration ) - [F] —
void
— Set Dialog Item Tooltip — ( libNtve_gf_SetDialogItemTooltip ) - [F] —
color
— Dialog Item Color — ( libNtve_gf_DialogItemColor ) - [F] —
string
[ fontstyle ] — Dialog Item Style — ( libNtve_gf_DialogItemStyle ) - [F] —
text
— Dialog Item Tooltip — ( libNtve_gf_DialogItemTooltip ) - [F] —
void
— Destroy Dialog Item — ( DialogControlDestroy ) - [F] —
void
— Set Dialog Item Image — ( libNtve_gf_SetDialogItemImage ) - [F] —
void
— Set Dialog Item Hover Image — ( libNtve_gf_SetDialogItemImage2 ) - [F] —
void
— Set Dialog Item Image Type — ( libNtve_gf_SetDialogItemImageType ) - [F] —
void
— Set Dialog Item Blend Mode — ( libNtve_gf_SetDialogItemBlendMode ) - [F] —
void
— Set Dialog Item Tiled — ( libNtve_gf_SetDialogItemImageType2 ) - [F] —
void
— Set Dialog Background — ( DialogSetImage ) - [F] —
string
— Dialog Item Image — ( libNtve_gf_DialogItemImage ) - [F] —
int
[ preset::ImageType ] — Dialog Item Image Type — ( libNtve_gf_DialogItemImageType ) - [F] —
void
— Fade Dialog Item Transparency — ( DialogControlFadeTransparency ) - [F] —
void
— Set Dialog Item Flash — ( libNtve_gf_SetDialogItemFlash ) - [F] —
void
— Set Dialog Item Cutscene — ( libNtve_gf_SetDialogItemCutscene ) - [F] —
void
— Dialog Item Invoke As Text — ( DialogControlInvokeAsText ) - [F] —
void
— Dialog Item Invoke As String — ( DialogControlInvokeAsString ) - [F] —
void
— Dialog Item Send Animation Event — ( DialogControlSendAnimationEvent ) - [F] —
void
— Dialog Item Set Animation Speed — ( DialogControlSetAnimationSpeed ) - [F] —
void
— Dialog Item Set Animation Time — ( DialogControlSetAnimationTime ) - [F] —
void
— Dialog Item Advance Animation — ( DialogControlAdvanceAnimation ) - [F] —
void
— Dialog Item Force Transition — ( DialogControlForceTransition ) - [F] —
void
— Dialog Item Request Focus — ( DialogControlRequestFocus ) - [F] —
void
— Set Dialog Item Achievement — ( libNtve_gf_SetDialogItemAchievement ) - [F] —
void
— Set Dialog Item Render Priority — ( libNtve_gf_SetDialogItemRenderPriority ) - [F] —
void
— Set Dialog Item Click On Down — ( libNtve_gf_SetDialogItemClickOnDown ) - [F] —
void
— Set Dialog Item Toggled — ( libNtve_gf_SetDialogItemToggled ) - [F] —
void
— Set Dialog Item Movie — ( libNtve_gf_SetDialogItemMovie ) - [F] —
void
— Set Dialog Item Desaturated — ( libNtve_gf_SetDialogItemDesaturated ) - [F] —
void
— Set Dialog Item Desaturation Color — ( libNtve_gf_SetDialogItemDesaturationColor ) - [F] —
void
— Set Dialog Item Custom Tooltip — ( libNtve_gf_SetDialogItemCustomTooltip ) - [F] —
void
— Set Dialog Item Unit — ( libNtve_gf_SetDialogItemUnit ) - [F] —
void
— Set Dialog Item Model — ( libNtve_gf_SetDialogItemModel ) - [F] —
void
— Set Dialog Item Animation — ( libNtve_gf_SetDialogItemAnimation ) - [F] —
void
— Set Dialog Item Camera — ( libNtve_gf_SetDialogItemCamera ) - [F] —
void
— Set Dialog Item Border Visible — ( libNtve_gf_SetDialogItemBorderVisible ) - [F] —
void
— Set Dialog Item Border Image — ( libNtve_gf_SetDialogItemBorderImage ) - [F] —
void
— Set Dialog Item Background Visible — ( libNtve_gf_SetDialogItemBackgroundVisible ) - [F] —
void
— Set Dialog Item Use Transition — ( libNtve_gf_SetDialogItemUseTransition ) - [F] —
void
— Set Dialog Item Muted — ( libNtve_gf_SetDialogItemMuted ) - [F] —
void
— Set Dialog Item Paused — ( libNtve_gf_SetDialogItemPaused ) - [F] —
void
— Set Dialog Item Accept Mouse — ( libNtve_gf_SetDialogItemAcceptMouse ) - [F] —
void
— Set Dialog Item Tint Color — ( libNtve_gf_SetDialogItemTintColor ) - [F] —
void
— Set Dialog Item Team Color — ( libNtve_gf_SetDialogItemTeamColor ) - [F] —
void
— Set Dialog Item Light — ( libNtve_gf_SetDialogItemLight ) - [F] —
void
— Set Dialog Item Transition Model — ( libNtve_gf_SetDialogItemTransitionModel ) - [F] —
void
— Set Dialog Item Force Visible — ( libNtve_gf_SetDialogItemForceVisible ) - [F] —
void
— Set Dialog Item Render Type — ( libNtve_gf_SetDialogItemRenderType ) - [F] —
void
— Set Dialog Item Unit Link — ( libNtve_gf_SetDialogItemUnitLink ) - [F] —
void
— Set Dialog Item Team Color Index — ( libNtve_gf_SetDialogItemTeamColorIndex ) - [F] —
void
— Set Dialog Item Animation Duration — ( libNtve_gf_SetDialogItemAnimationDuration ) - [F] —
void
— Set Dialog Item Animation Time — ( libNtve_gf_SetDialogItemAnimationTime ) - [F] —
void
— Set Dialog Item Actor — ( libNtve_gf_SetDialogItemActor ) - [F] —
void
— Set Dialog Item Behavior — ( libNtve_gf_SetDialogItemBehavior ) - [F] —
void
— Set Dialog Item Hotkey — ( libNtve_gf_SetDialogItemHotkey ) - [F] —
void
— Set Dialog Item Allowed Mouse Buttons — ( libNtve_gf_SetDialogItemAllowedMouseButtons ) - [F] —
void
— Set Dialog Item Alpha Mask — ( libNtve_gf_SetDialogItemAlphaMask ) - [F] —
void
— Set Dialog Item Animation Index — ( libNtve_gf_SetDialogItemAnimationIndex ) - [F] —
void
— Set Dialog Item Handle — ( libNtve_gf_SetDialogItemHandle ) - [F] —
void
— Set Dialog Item Border Color — ( libNtve_gf_SetDialogItemBorderColor ) - [F] —
void
— Set Dialog Item Fill Color — ( libNtve_gf_SetDialogItemFillColor ) - [F] —
void
— Set Dialog Item Submenu — ( libNtve_gf_SetDialogItemSubmenu ) - [F] —
void
— Set Dialog Item Unit Group — ( libNtve_gf_SetDialogItemUnitGroup ) - [F] —
void
— Set Dialog Item PlayerId — ( libNtve_gf_SetDialogItemPlayerId ) - [F] —
void
— Set Dialog Item Score Value Link — ( libNtve_gf_SetDialogItemScoreValueLink ) - [F] —
void
— Set Dialog Item State Index — ( libNtve_gf_SetDialogItemStateIndex )
# Examples
# campaigns/void.sc2campaign
// L1353
libNtve_gf_SetDialogItemDesaturated(gv_movingPlatform.lv_leftButton, true, PlayerGroupAll())
// L1364
libNtve_gf_SetDialogItemDesaturated(gv_movingPlatform.lv_downButton, true, PlayerGroupAll())
// L1382
libNtve_gf_SetDialogItemDesaturated(gv_movingPlatform.lv_rightButton, true, PlayerGroupAll())
// L1542
libNtve_gf_SetDialogItemDesaturated(gv_movingPlatform.lv_leftButton, true, PlayerGroupAll())
// L1546
libNtve_gf_SetDialogItemDesaturated(gv_movingPlatform.lv_downButton, true, PlayerGroupAll())
// L1550
libNtve_gf_SetDialogItemDesaturated(gv_movingPlatform.lv_upButton, true, PlayerGroupAll())
// L1554
libNtve_gf_SetDialogItemDesaturated(gv_movingPlatform.lv_rightButton, true, PlayerGroupAll())
// L1558
libNtve_gf_SetDialogItemDesaturated(gv_movingPlatform.lv_townBellButton, true, PlayerGroupAll())
// L1596
libNtve_gf_SetDialogItemDesaturated(gv_movingPlatform.lv_leftButton, false, PlayerGroupAll())
// L1603
libNtve_gf_SetDialogItemDesaturated(gv_movingPlatform.lv_downButton, false, PlayerGroupAll())
// L1353
libNtve_gf_SetDialogItemDesaturated(gv_movingPlatform.lv_leftButton, true, PlayerGroupAll())
// L1364
libNtve_gf_SetDialogItemDesaturated(gv_movingPlatform.lv_downButton, true, PlayerGroupAll())
// L1382
libNtve_gf_SetDialogItemDesaturated(gv_movingPlatform.lv_rightButton, true, PlayerGroupAll())
// L1542
libNtve_gf_SetDialogItemDesaturated(gv_movingPlatform.lv_leftButton, true, PlayerGroupAll())
// L1546
libNtve_gf_SetDialogItemDesaturated(gv_movingPlatform.lv_downButton, true, PlayerGroupAll())
// L1550
libNtve_gf_SetDialogItemDesaturated(gv_movingPlatform.lv_upButton, true, PlayerGroupAll())
// L1554
libNtve_gf_SetDialogItemDesaturated(gv_movingPlatform.lv_rightButton, true, PlayerGroupAll())
// L1558
libNtve_gf_SetDialogItemDesaturated(gv_movingPlatform.lv_townBellButton, true, PlayerGroupAll())
// L1596
libNtve_gf_SetDialogItemDesaturated(gv_movingPlatform.lv_leftButton, false, PlayerGroupAll())
// L1603
libNtve_gf_SetDialogItemDesaturated(gv_movingPlatform.lv_downButton, false, PlayerGroupAll())
# mods/heroesbrawlmods/brawlmapmods/coop/pvebrawluimod.stormmod
// L543
libNtve_gf_SetDialogItemDesaturated(libPBUI_gv_curateHeroSelectionUI.lv_heroButtonImages[lp_row][lp_column], false, lp_forPlayers)
// L547
libNtve_gf_SetDialogItemDesaturated(libPBUI_gv_curateHeroSelectionUI.lv_heroButtonImages[lp_row][lp_column], true, lp_forPlayers)
// L551
libNtve_gf_SetDialogItemDesaturated(libPBUI_gv_curateHeroSelectionUI.lv_heroButtonImages[lp_row][lp_column], false, lp_forPlayers)
# mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmod
// L531
libNtve_gf_SetDialogItemDesaturated(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_heroButtonImages[lp_row][lp_column], false, lp_forPlayers)
// L535
libNtve_gf_SetDialogItemDesaturated(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_heroButtonImages[lp_row][lp_column], true, lp_forPlayers)
// L539
libNtve_gf_SetDialogItemDesaturated(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_heroButtonImages[lp_row][lp_column], false, lp_forPlayers)
# mods/heroesbrawlmods/heroselectionmods/ingameheroselection.stormmod
// L1160
libNtve_gf_SetDialogItemDesaturated(libIGHS_gv_shuffleUI.lv_playerHeroButtonImage[lv_displayColumn][lv_pick], true, PlayerGroupSingle(lv_viewer))
// L1161
libNtve_gf_SetDialogItemDesaturated(libIGHS_gv_shuffleUI.lv_playerHeroRoleBackground[lv_displayColumn][lv_pick], true, PlayerGroupSingle(lv_viewer))
// L1166
libNtve_gf_SetDialogItemDesaturated(libIGHS_gv_shuffleUI.lv_playerHeroButtonImage[lv_displayColumn][lv_pick], false, PlayerGroupSingle(lv_viewer))
// L1167
libNtve_gf_SetDialogItemDesaturated(libIGHS_gv_shuffleUI.lv_playerHeroRoleBackground[lv_displayColumn][lv_pick], false, PlayerGroupSingle(lv_viewer))
// L1168
libNtve_gf_SetDialogItemDesaturated(libIGHS_gv_shuffleUI.lv_playerHeroRoleImage[lv_displayColumn][lv_pick], false, PlayerGroupSingle(lv_viewer))