Tom_Kazansky
--- wraith it ! ---
- Reaction score
- 157
My Permanent Floating Texts sometimes disappear, the var i set for it still " != null ", what is that problem ? how can i fix that ?
native SetTextTagFadepoint takes texttag t, real fadepoint returns nothing
native SetTextTagAge takes texttag t, real age returns nothing
native SetTextTagLifespan takes texttag t, real lifespan returns nothing
native SetTextTagVisibility takes texttag t, boolean flag returns nothing
function NewCreateTextTagLoc takes string msg, real xloc, real yloc, real size returns texttag
local texttag tt
local location tl = Location( xloc,yloc)
call CreateTextTagLocBJ( msg, tl, 10, size, 100, 100, 100, 0 )
call RemoveLocation(tl)
set tt = GetLastCreatedTextTag()
call SetTextTagVelocityBJ( tt, 0, 0 )
call SetTextTagPermanent( tt, true)
call SetTextTagVisibility(tt,true)
return tt
endfunction
call SetTextTagTextBJ( tt,msg,size ) //msg != "" , size = 10
call DestroyTextTag(whichTextTag)
set whichTextTag = null
function NewCreateTextTagLoc takes string msg, real xloc, real yloc, real size returns texttag
local texttag tt
local location tl = Location( xloc,yloc)
set tt = CreateTextTagLocBJ( msg, tl, 10, size, 100, 100, 100, 0 )
call RemoveLocation(tl)
call SetTextTagVelocityBJ( tt, 0, 0 )
call SetTextTagPermanent( tt, true)
call SetTextTagVisibility(tt,true)
return tt
endfunction