JASS:
function CreateTimedTextTag takes string text, real size, real x, real y, real time returns texttag
set bj_lastCreatedTextTag = CreateTextTag()
call SetTextTagText( bj_lastCreatedTextTag, text, size*0.0023 )
call SetTextTagPos( bj_lastCreatedTextTag, x, y, 100 )
call SetTextTagPermanent( bj_lastCreatedTextTag, false )
call SetTextTagLifespan( bj_lastCreatedTextTag, time )
// wondering about next row
call SetTextTagVisibility( bj_lastCreatedTextTag, IsVisibleToPlayer(x, y, GetLocalPlayer()) )
return bj_lastCreatedTextTag
endfunction