# Set Time Of Text Tag
Grammar — Set type|Time Type time for tag|Text Tag to time seconds
Flags —Native
|Action
Sets the duration for the text tag to appear.
# Arguments
int
[ preset::TextTag ] — Tagint
[ preset::TextTagTime ] — Typefixed
— Time
Returns — void
native void TextTagSetTime(
int inTag,
int inType,
fixed inVal,
);
# Related
Category: Text Tag / Basic
- [F] —
int
[ preset::TextTag ] — Create Text Tag — ( TextTagCreate ) - [F] —
int
[ preset::TextTag ] — Last Created Text Tag — ( TextTagLastCreated ) - [F] —
void
— Show/Hide Text Tag — ( TextTagShow ) - [F] —
bool
— Text Tag Is Visible — ( TextTagVisible ) - [F] —
void
— Pause/Unpause Text Tag — ( TextTagPause ) - [F] —
void
— Attach Text Tag To Unit — ( TextTagAttachToUnit ) - [F] —
void
— Attach Text Tag To Unit Attach Point — ( TextTagAttachToUnitPoint ) - [F] —
void
— Destroy Text Tag — ( TextTagDestroy ) - [F] —
void
— Set Position Of Text Tag — ( TextTagSetPosition ) - [F] —
void
— Set Velocity Of Text Tag — ( TextTagSetVelocity ) - [F] —
void
— Set Gravity Of Text Tag — ( TextTagSetGravity ) - [F] —
void
— Set Text Of Text Tag — ( TextTagSetText ) - [F] —
void
— Set Time Of Text Tag — ( TextTagSetTime )
# Examples
# campaigns/liberty.sc2campaign
// L529
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L539
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L549
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L602
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L612
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L622
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L523
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L533
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L543
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L520
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L530
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L540
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L3042
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.5)
// L7886
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 6.0)
// L7887
TextTagSetTime(TextTagLastCreated(), c_textTagTimeFadeOut, 4.0)
// L517
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L2371
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 2.0)
// L1436
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L1449
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L1512
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L1525
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L1588
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L1601
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L1647
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L1104
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, c_textTagTimePermanent)
// L1295
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, c_textTagTimePermanent)
// L671
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, c_textTagTimePermanent)
// L677
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, c_textTagTimePermanent)
// L683
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, c_textTagTimePermanent)
// L689
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, c_textTagTimePermanent)
// L1513
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 2.0)
// L1520
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 2.0)
// L1531
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 2.0)
// L1537
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 2.0)
// L2895
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 5.0)
// L2896
TextTagSetTime(TextTagLastCreated(), c_textTagTimeFadeOut, 4.0)
// L2897
TextTagSetTime(TextTagLastCreated(), c_textTagTimeFadeDuration, 1.0)
// L9563
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, c_textTagTimePermanent)
// L9944
TextTagSetTime(lv_tag, c_textTagTimeCurrent, 0.0)
// L9947
TextTagSetTime(lv_tag, c_textTagTimeCurrent, 60.0)
// L30084
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 10.0)
// L30085
TextTagSetTime(TextTagLastCreated(), c_textTagTimeFadeOut, 9.0)
// L30086
TextTagSetTime(TextTagLastCreated(), c_textTagTimeFadeDuration, 1.0)
// L3042
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.5)
// L7886
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 6.0)
// L7887
TextTagSetTime(TextTagLastCreated(), c_textTagTimeFadeOut, 4.0)
// L517
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L2371
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 2.0)
// L1436
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L1449
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L1512
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L1525
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L1588
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L1601
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L1647
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L1104
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, c_textTagTimePermanent)
// L1295
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, c_textTagTimePermanent)
// L671
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, c_textTagTimePermanent)
// L677
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, c_textTagTimePermanent)
// L683
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, c_textTagTimePermanent)
// L689
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, c_textTagTimePermanent)
// L1513
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 2.0)
// L1520
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 2.0)
// L1531
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 2.0)
// L1537
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 2.0)
// L2895
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 5.0)
// L2896
TextTagSetTime(TextTagLastCreated(), c_textTagTimeFadeOut, 4.0)
// L2897
TextTagSetTime(TextTagLastCreated(), c_textTagTimeFadeDuration, 1.0)
// L9563
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, c_textTagTimePermanent)
// L9944
TextTagSetTime(lv_tag, c_textTagTimeCurrent, 0.0)
// L9947
TextTagSetTime(lv_tag, c_textTagTimeCurrent, 60.0)
// L30084
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 10.0)
// L30085
TextTagSetTime(TextTagLastCreated(), c_textTagTimeFadeOut, 9.0)
// L30086
TextTagSetTime(TextTagLastCreated(), c_textTagTimeFadeDuration, 1.0)
// L529
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L539
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L549
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L602
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L612
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L622
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L523
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L533
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L543
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L520
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L530
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L540
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
# campaigns/libertystory.sc2campaign
// L873
TextTagSetTime(lv_textTag, c_textTagTimeDuration, 2.0)
// L882
TextTagSetTime(lv_textTag, c_textTagTimeDuration, 2.0)
// L920
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 4.0)
// L926
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 4.0)
// L1561
TextTagSetTime(libCamp_gv__CB_Current_ChatBubble[lp_playerIndex], c_textTagTimeDuration, 360000.0)
// L11898
TextTagSetTime(lv_p_TextTag, c_textTagTimeDuration, 360000.0)
# campaigns/swarm.sc2campaign
// L761
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L2103
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L716
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L424
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L437
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L450
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L464
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)
// L477
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0)