• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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