- Joined
- Apr 6, 2008
- Messages
- 760
I have serious buggs with texttags sometimes they work sometimes not.
As for now it wont show for my casting bar system
Any1 have a clue why it wont show?
Off Topic: Only me who see Brackets as '& # 9 1 ;' (with out spaces) in a jasstag ?
As for now it wont show for my casting bar system
JASS:
method CreateCastBar takes nothing returns nothing
local integer index = 0
set this.Timer = NewTimer()
set this.BarText = CreateTextTag()
set this.Text = ""
set this.Time = CastBar_BarTime
set this.ElapsedTime = 0
set this.Count = 0
set HT[this.Caster] = this
loop
exitwhen index >= 25
set this.TextI = this.TextI + CastBar_BarType
set index = index + 1
endloop
call SetTextTagPermanent(this.BarText,true)
call SetTextTagText(this.BarText,this.TextI,CastBar_ZHeight)
call SetTextTagPosUnit(this.BarText,this.Caster,CastBar_ZHeight)
call SetTextTagVisibility(this.BarText,true)
call SetTimerData(this.Timer,this)
call TimerStart(this.Timer,CastBar_BarTime/25,true,function thistype.CallBack)
endmethod
Any1 have a clue why it wont show?
Off Topic: Only me who see Brackets as '& # 9 1 ;' (with out spaces) in a jasstag ?