- Joined
- Oct 11, 2012
- Messages
- 711
Hi all. Does the following leak?
Thanks a lot.
JASS:
function test takes nothing returns nothing
local texttag tag=CreateTextTag()
if .... then
call SetTextTagText(tag,"string",0.03)
call SetTextTagPosUnit(tag,dead,1.)
call SetTextTagColor(tag,255,0,0,255)
call SetTextTagPermanent( tag, false )
call SetTextTagVelocity( tag, 0, 0.01 )
call SetTextTagFadepoint( tag, 1.50 )
call SetTextTagLifespan( tag, 3.00 )
endif
set tag=null
endfunction
Thanks a lot.