HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Floating Text Problem

07-14-2009, 09:30 AM#1
shadowange1
Okay i am trying to make a function that creates 7 floating texts back to back.
i created a function that when called will create text at a given points
i caled the funtion 7 times in a row and it onmly seems to show twice...
i have ran this multiple times and put waits inbetween the function calls and witht eh waits it only sometimes creates all 7.
is there some floating textss rules im not away of? or function call rules?

Also to not use anotehr thread, i would like to know if there is a max number of events i can add to a trigger?
thanks for your help.

I am new to jass so any tips would be helpful

here is my code
Collapse JASS:
function stepshow takes rect c, integer i returns nothing
    local location l
    local texttag t
    set l = GetRectCenter(c)
    call PanCameraToTimedLocForPlayer( Player(i), l, 0.00 )
    call CreateTextTagLocBJ( "Spawn Activated on 16", l, 0, 10, 100, 0.00, 0.00, 0 )
    set t = GetLastCreatedTextTag()
    call SetTextTagPermanentBJ( t, true )
    call ShowTextTagForceBJ( true, t, GetPlayersAll() )
    call RemoveLocation(l)
    set l = null
    set t = null
    set r = null
endfunction
07-14-2009, 09:57 AM#2
DioD
post your code
07-14-2009, 10:22 PM#3
shadowange1
okay well i updated it with my functions code
this is killing me cant figure out whats wrong