| 03-17-2006, 06:49 PM | #1 |
I'm using this for critical strike text tag JASS:call CreateTextTag() call SetTextTagText(GetLastCreatedTextTag(),I2S(i) + "!",10) call SetTextTagPosUnit(GetLastCreatedTextTag(),t,0) call SetTextTagColor(GetLastCreatedTextTag(),100,0,0,0) call SetTextTagVelocity( GetLastCreatedTextTag(), 72, 90 ) call SetTextTagVisibility(GetLastCreatedTextTag(),true) call SetTextTagPermanent( GetLastCreatedTextTag(), false ) call SetTextTagLifespan( GetLastCreatedTextTag(), 5 ) call SetTextTagFadepoint( GetLastCreatedTextTag(), 2 ) JASS:call CreateTextTagUnitBJ( I2S(i) + "!", t, 0, 10, 100, 0.00, 0.00, 0 ) call SetTextTagVelocityBJ( GetLastCreatedTextTag(), 72.00, 90 ) call SetTextTagPermanentBJ( GetLastCreatedTextTag(), false ) call SetTextTagLifespanBJ( GetLastCreatedTextTag(), 5 ) call SetTextTagFadepointBJ( GetLastCreatedTextTag(), 2.00 ) |
| 03-17-2006, 06:54 PM | #2 |
wrong wrong wrong. JASS:
local texttag tt= CreateTextTag()
call SetTextTagText(tt,I2S(i) + "!",10)
call SetTextTagPosUnit(tt,t,0)
call SetTextTagColor(t,100,0,0,0)
call SetTextTagVelocity( tt, 72, 90 )
call SetTextTagVisibility(tt,true)
call SetTextTagPermanent( tt, false )
call SetTextTagLifespan( tt, 5 )
call SetTextTagFadepoint( tt, 2 )GetLastCreatedTextTag() is just a function that returns a global variable. That variable is set by the BJ texttag functions, but if you are using natives that function won't work well |
| 03-17-2006, 07:14 PM | #3 |
Still doesn't work. Guess I'll just use the bj's for now. |
