• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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