• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Solved] Leak issue related to texttag.

Status
Not open for further replies.
Level 11
Joined
Oct 11, 2012
Messages
711
Hi all. Does the following leak?
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. :)
 
Status
Not open for further replies.
Top