# Set Dialog Item Border Image

Grammar — Set dialogItem border image to image for players
FlagsAction

Sets the border image to display on a dialog item. Currently supported by Portraits

# Arguments

  • int<control> — Dialog Item
  • string<filepath> — Image
  • playergroup — Players

Returns — void

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

Category: Dialog / Dialog Item Tools

# Examples

mods/warcoop/warmeleeai.sc2modbase.sc2data/LibW3AI.galaxy:161

    libW3AI_gv_d = DialogLastCreated();
    DialogControlCreate(lv_d, c_triggerControlTypePortrait);
    libNtve_gf_SetDialogItemBorderImage(DialogControlLastCreated(), "Assets\\Textures\\UI\\Widgets\\EscMenu\\Human\\human-options-menu-border.tga", PlayerGroupAll());
    DialogControlSetFullDialog(DialogControlLastCreated(), PlayerGroupAll(), true);
    DialogControlCreate(lv_d, c_triggerControlTypeLabel);