# Set Background Offset Of Text Tag
Grammar — Set the background offset of textTag to (horizontal, vertical), in percent of screen size
Flags —Native
|Action
Sets the offset of the background of the text tag.
# Arguments
int
<preset::TextTag> — Text Tagfixed
— Horizontalfixed
— Vertical
Returns — void
native void TextTagSetBackgroundOffset(
int inTag,
fixed inX,
fixed inY,
);
# 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:2876
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 0.8, 0.0);
TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\white.dds", false);
TextTagSetBackgroundOffset(TextTagLastCreated(), 0.0, 0.25);
auto2FB17D52_val = lp_jukeboxID;
if (auto2FB17D52_val == gv_marSaraJukeboxID) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:2876
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 0.8, 0.0);
TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\white.dds", false);
TextTagSetBackgroundOffset(TextTagLastCreated(), 0.0, 0.25);
auto2FB17D52_val = lp_jukeboxID;
if (auto2FB17D52_val == gv_marSaraJukeboxID) {