# Set Edge Image Of Text Tag

Grammar — Set the edge image of textTag for edge edge to path|Image Path using X offset of xOffset and Y offset of yOffset.
FlagsNative | Action

Sets the image attached to the edge of the background image of this text tag.

# Arguments

  • int [ preset::TextTag ] — Text Tag
  • int [ preset::TextTagEdge ] — Edge
  • string [ filepath ] — Image
  • int — X Offset
  • int — Y Offset

Returns — void

native void TextTagSetEdgeImage(
	int inTag,
	int inEdge,
	string inPath,
	int inXOffset,
	int inYOffset,
);

Category: Text Tag / Formatting

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L9562
TextTagSetEdgeImage(TextTagLastCreated(), lp_edge, lp_edgeImage, lp_edgeOffsetX, lp_edgeOffsetY)
// L9562
TextTagSetEdgeImage(TextTagLastCreated(), lp_edge, lp_edgeImage, lp_edgeOffsetX, lp_edgeOffsetY)
// L714
TextTagSetEdgeImage(TextTagLastCreated(), c_textTagEdgeBottom, "Assets\\Textures\\ui_hots_frame_objectives_bonus_popup_short.dds", 0, -15)
// L714
TextTagSetEdgeImage(TextTagLastCreated(), c_textTagEdgeBottom, "Assets\\Textures\\ui_hots_frame_objectives_bonus_popup_short.dds", 0, -15)

# campaigns/swarmstory.sc2campaign

SwarmCampaignLib.galaxy

// L4016
TextTagSetEdgeImage(TextTagLastCreated(), c_textTagEdgeBottom, "Assets\\Textures\\ui_hots_frame_objectives_bonus_popup_short.dds", 0, -15)
// L4019
TextTagSetEdgeImage(TextTagLastCreated(), c_textTagEdgeBottom, "Assets\\Textures\\ui_hots_frame_objectives_bonus_popup_reg.dds", 0, -15)

# mods/voidprologue.sc2mod

LibA3DDD02B.galaxy

// L2805
TextTagSetEdgeImage(TextTagLastCreated(), c_textTagEdgeBottom, "Assets\\Textures\\ui_hots_frame_objectives_bonus_popup_short.dds", 0, -15)
// L2808
TextTagSetEdgeImage(TextTagLastCreated(), c_textTagEdgeBottom, "Assets\\Textures\\ui_hots_frame_objectives_bonus_popup_reg.dds", 0, -15)