# Set Dialog Item Alpha Mask

Grammar — Set dialogItem Alpha Mask to image for players
FlagsAction

Sets the alpha mask that can be used to mask out any pixels in the specified texture with an alpha value. Currently supported for all dialog item types.

# Arguments

  • int [ control ] — Dialog Item
  • string [ filepath ] — Image
  • playergroup — Players

Returns — void

void libNtve_gf_SetDialogItemAlphaMask(
	int lp_dialogItem,
	string lp_image,
	playergroup lp_players,
);

Category: Dialog / Dialog Item Tools

# Examples

# campaigns/swarmstory.sc2campaign

SwarmCampaignLib.galaxy

// L2546
libNtve_gf_SetDialogItemAlphaMask(libSwaC_gv_zS_ObjectivePanel, "@UI/ObjectivePanelMaskTwoHeroes", PlayerGroupAll())
// L2549
libNtve_gf_SetDialogItemAlphaMask(libSwaC_gv_zS_ObjectivePanel, "@UI/ObjectivePanelMask", PlayerGroupAll())
// L2552
libNtve_gf_SetDialogItemAlphaMask(libSwaC_gv_zS_ObjectivePanel, "", PlayerGroupAll())
// L2588
libNtve_gf_SetDialogItemAlphaMask(libSwaC_gv_zS_ErrorPanel, "@UI/InGame_ErrorDisplayMask", PlayerGroupAll())
// L2595
libNtve_gf_SetDialogItemAlphaMask(libSwaC_gv_zS_ErrorPanel, "", PlayerGroupAll())

# campaigns/voidstory.sc2campaign

VoidCampaignUILib.galaxy

// L4153
libNtve_gf_SetDialogItemAlphaMask(libVCUI_gv_pU_ObjectivePanel, "@UI/ObjectivePanelMaskTwoHeroes", PlayerGroupAll())
// L4156
libNtve_gf_SetDialogItemAlphaMask(libVCUI_gv_pU_ObjectivePanel, "", PlayerGroupAll())
// L4159
libNtve_gf_SetDialogItemAlphaMask(libVCUI_gv_pU_ObjectivePanel, "", PlayerGroupAll())

# mods/missionpacks/novacampaign.sc2mod

LibNCUI.galaxy

// L3646
libNtve_gf_SetDialogItemAlphaMask(libNCUI_gv_NU_ObjectivePanel, "@UI/ObjectivePanelMaskTwoHeroes", PlayerGroupAll())
// L3649
libNtve_gf_SetDialogItemAlphaMask(libNCUI_gv_NU_ObjectivePanel, "", PlayerGroupAll())
// L3652
libNtve_gf_SetDialogItemAlphaMask(libNCUI_gv_NU_ObjectivePanel, "", PlayerGroupAll())

# mods/starcoop/starcoop.sc2mod

LibCOUI.galaxy

// L3227
libNtve_gf_SetDialogItemAlphaMask(libCOUI_gv_cU_ObjectivePanel, "@UI/ObjectivePanelMaskTwoHeroes", PlayerGroupAll())
// L3230
libNtve_gf_SetDialogItemAlphaMask(libCOUI_gv_cU_ObjectivePanel, "@UI/ObjectivePanelMask", PlayerGroupAll())
// L3233
libNtve_gf_SetDialogItemAlphaMask(libCOUI_gv_cU_ObjectivePanel, "", PlayerGroupAll())

# mods/voidprologue.sc2mod

LibA3DDD02B.galaxy

// L1540
libNtve_gf_SetDialogItemAlphaMask(libA3DDD02B_gv_pP_ObjectivePanel, "@UI/ObjectivePanelMaskTwoHeroes", PlayerGroupAll())
// L1543
libNtve_gf_SetDialogItemAlphaMask(libA3DDD02B_gv_pP_ObjectivePanel, "@UI/ObjectivePanelMask", PlayerGroupAll())
// L1546
libNtve_gf_SetDialogItemAlphaMask(libA3DDD02B_gv_pP_ObjectivePanel, "", PlayerGroupAll())
// L1582
libNtve_gf_SetDialogItemAlphaMask(libA3DDD02B_gv_pP_ErrorPanel, "@UI/InGame_ErrorDisplayMask", PlayerGroupAll())
// L1589
libNtve_gf_SetDialogItemAlphaMask(libA3DDD02B_gv_pP_ErrorPanel, "", PlayerGroupAll())