# 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.
Flags —Native
|Action
Sets the image attached to the edge of the background image of this text tag.
# Arguments
int
<preset::TextTag> — Text Tagint
<preset::TextTagEdge> — Edgestring
<filepath> — Imageint
— X Offsetint
— Y Offset
Returns — void
native void TextTagSetEdgeImage(
int inTag,
int inEdge,
string inPath,
int inXOffset,
int inYOffset,
);
# Related
Category: Text Tag / Formatting
- Set Alignment Of Text Tag —
void
— TextTagSetAlignment - Set Text Alignment Of Text Tag —
void
— TextTagSetTextAlignment - Set Background Border Size Of Text Tag —
void
— TextTagSetBackgroundBorderSize - Set Background Image Of Text Tag —
void
— TextTagSetBackgroundImage - Set Background Offset Of Text Tag —
void
— TextTagSetBackgroundOffset - Set Edge Image Of Text Tag —
void
— TextTagSetEdgeImage - Set Color Of Text Tag —
void
— TextTagSetColor - Set Enforce Fog Of War Of Text Tag —
void
— TextTagFogofWar - Set Visibility Type Of Text Tag —
void
— TextTagSetFogVisibility - Set Faded Transparency Of Text Tag —
void
— TextTagSetFadedTransparency - Set Font Size Of Text Tag —
void
— TextTagSetFontSize - Set Maximum Size Of Text Tag —
void
— TextTagSetMaxSize - Show/Hide Background For Text Tag —
void
— TextTagShowBackground - Show/Hide Text Shadow For Text Tag —
void
— TextTagSetTextShadow
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:9562
TextTagAttachToUnitPoint(TextTagLastCreated(), lp_unit, lp_attachmentPoint, lp_offsetX, lp_offsetY);
TextTagShowBackground(TextTagLastCreated(), true);
TextTagSetEdgeImage(TextTagLastCreated(), lp_edge, lp_edgeImage, lp_edgeOffsetX, lp_edgeOffsetY);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, c_textTagTimePermanent);
gv_hotspots_FlashingTextTagCount += 1;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:9562
TextTagAttachToUnitPoint(TextTagLastCreated(), lp_unit, lp_attachmentPoint, lp_offsetX, lp_offsetY);
TextTagShowBackground(TextTagLastCreated(), true);
TextTagSetEdgeImage(TextTagLastCreated(), lp_edge, lp_edgeImage, lp_edgeOffsetX, lp_edgeOffsetY);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, c_textTagTimePermanent);
gv_hotspots_FlashingTextTagCount += 1;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition01.sc2map/MapScript.galaxy:714
TextTagSetVelocity(TextTagLastCreated(), 0.7, 90.0);
TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\blank.dds", true);
TextTagSetEdgeImage(TextTagLastCreated(), c_textTagEdgeBottom, "Assets\\Textures\\ui_hots_frame_objectives_bonus_popup_short.dds", 0, -15);
TextTagShowBackground(TextTagLastCreated(), true);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition01.sc2map — MapScript.galaxy:714
TextTagSetVelocity(TextTagLastCreated(), 0.7, 90.0);
TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\blank.dds", true);
TextTagSetEdgeImage(TextTagLastCreated(), c_textTagEdgeBottom, "Assets\\Textures\\ui_hots_frame_objectives_bonus_popup_short.dds", 0, -15);
TextTagShowBackground(TextTagLastCreated(), true);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:4016
TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\blank.dds", true);
if ((lp_resourceType == libSwaC_ge_CacheResourceType_CustomResource)) {
TextTagSetEdgeImage(TextTagLastCreated(), c_textTagEdgeBottom, "Assets\\Textures\\ui_hots_frame_objectives_bonus_popup_short.dds", 0, -15);
}
else {
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:4019
}
else {
TextTagSetEdgeImage(TextTagLastCreated(), c_textTagEdgeBottom, "Assets\\Textures\\ui_hots_frame_objectives_bonus_popup_reg.dds", 0, -15);
}
TextTagShowBackground(TextTagLastCreated(), true);
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:2805
TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\blank.dds", true);
if ((lp_resourceType == libA3DDD02B_ge_CacheResourceType_CustomResource)) {
TextTagSetEdgeImage(TextTagLastCreated(), c_textTagEdgeBottom, "Assets\\Textures\\ui_hots_frame_objectives_bonus_popup_short.dds", 0, -15);
}
else {
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:2808
}
else {
TextTagSetEdgeImage(TextTagLastCreated(), c_textTagEdgeBottom, "Assets\\Textures\\ui_hots_frame_objectives_bonus_popup_reg.dds", 0, -15);
}
TextTagShowBackground(TextTagLastCreated(), true);