# Set Dialog Item Blend Mode

Grammar — Set dialogItem blend mode to blendMode for players
FlagsAction

Sets the blend mode for a dialog item.

# Arguments

  • int<control> — Dialog Item
  • int<preset::DialogBlendMode> — Blend Mode
  • playergroup — Players

Returns — void

void libNtve_gf_SetDialogItemBlendMode(
	int lp_dialogItem,
	int lp_blendMode,
	playergroup lp_players,
);

Category: Dialog / Dialog Item Tools

# Examples

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pshakuras02.sc2map/MapScript.galaxy:1518

    libNtve_gf_SetDialogItemRenderPriority(gv_overloadTempleFlashingButton, 513, PlayerGroupAll());
    libNtve_gf_SetDialogItemAcceptMouse(gv_overloadTempleFlashingButton, false, PlayerGroupAll());
    libNtve_gf_SetDialogItemBlendMode(gv_overloadTempleFlashingButton, c_triggerBlendModeAdd, PlayerGroupAll());
    DialogControlFadeTransparency(gv_overloadTempleFlashingButton, PlayerGroupAll(), 0.0, 100.0);
    DialogSetVisible(gv_overloadTempleDialog, PlayerGroupAll(), true);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pshakuras02.sc2mapMapScript.galaxy:1518

    libNtve_gf_SetDialogItemRenderPriority(gv_overloadTempleFlashingButton, 513, PlayerGroupAll());
    libNtve_gf_SetDialogItemAcceptMouse(gv_overloadTempleFlashingButton, false, PlayerGroupAll());
    libNtve_gf_SetDialogItemBlendMode(gv_overloadTempleFlashingButton, c_triggerBlendModeAdd, PlayerGroupAll());
    DialogControlFadeTransparency(gv_overloadTempleFlashingButton, PlayerGroupAll(), 0.0, 100.0);
    DialogSetVisible(gv_overloadTempleDialog, PlayerGroupAll(), true);

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:2653

    libNtve_gf_SetDialogItemImageType2(lv_dialogitem, lp_tiled, PlayerGroupAll());
    libNtve_gf_SetDialogItemColor(lv_dialogitem, lp_tintColor, PlayerGroupAll());
    libNtve_gf_SetDialogItemBlendMode(lv_dialogitem, lp_blendMode, PlayerGroupAll());
    return lv_dialogitem;
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:3252

    libNtve_gf_SetDialogItemImageType(libNtve_gv_screenImageDialogImages[lp_screenImageID], c_triggerImageTypeNormal, PlayerGroupAll());
    libNtve_gf_SetDialogItemImage(libNtve_gv_screenImageDialogImages[lp_screenImageID], lp_image, PlayerGroupAll());
    libNtve_gf_SetDialogItemBlendMode(libNtve_gv_screenImageDialogImages[lp_screenImageID], lp_blendMode, PlayerGroupAll());
    DialogControlSetSize(libNtve_gv_screenImageDialogImages[lp_screenImageID], PlayerGroupAll(), lp_width, lp_height);
    libNtve_gf_SetDialogItemRotation(libNtve_gv_screenImageDialogImages[lp_screenImageID], 0, PlayerGroupAll());

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:2106

    libNtve_gf_SetDialogItemImageType2(lv_dialogitem, lp_tiled, PlayerGroupAll());
    libNtve_gf_SetDialogItemColor(lv_dialogitem, lp_tintColor, PlayerGroupAll());
    libNtve_gf_SetDialogItemBlendMode(lv_dialogitem, lp_blendMode, PlayerGroupAll());
    return lv_dialogitem;
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:2730

    libNtve_gf_SetDialogItemImageType(libNtve_gv_screenImageDialogImages[lp_screenImageID], c_triggerImageTypeNormal, PlayerGroupAll());
    libNtve_gf_SetDialogItemImage(libNtve_gv_screenImageDialogImages[lp_screenImageID], lp_image, PlayerGroupAll());
    libNtve_gf_SetDialogItemBlendMode(libNtve_gv_screenImageDialogImages[lp_screenImageID], lp_blendMode, PlayerGroupAll());
    DialogControlSetSize(libNtve_gv_screenImageDialogImages[lp_screenImageID], PlayerGroupAll(), lp_width, lp_height);
    libNtve_gf_SetDialogItemRotation(libNtve_gv_screenImageDialogImages[lp_screenImageID], 0, PlayerGroupAll());