• 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.

Is there a maximum Limit for TextTags?

Status
Not open for further replies.
Level 2
Joined
Feb 22, 2009
Messages
24
...or why this function suddenly stops its work?

JASS:
function CreateWPText takes integer RectId returns nothing
//need to be written in native later ... dont tell me that :P
    local location tmpLoc = Location(GetRectCenterX(udg_zRegion[RectId])-75,GetRectCenterY(udg_zRegion[RectId])-20)
    call CreateTextTagLocBJ( "Waypoint|n    No. "+I2S(GetWPNo(RectId)), tmpLoc, 0, 10.00, 80.00, 100, 100, 75.00 )
    call ShowTextTagForceBJ( true, GetLastCreatedTextTag() , GetPlayersAll() )
    set udg_zRegionText[RectId] = GetLastCreatedTextTag()
set tmpLoc = null
endfunction

The Rects are working fine...so they are created correctly! Its just that below an specific Y-Value, or more than 40 Text Tags this function just dont make the next Tag :(


Edit: A little request: Is there any possibility to import an english language game-interface? If there is a tutorial for i didnt found that. Link would be nice in that case.
 
Last edited:
Level 2
Joined
Feb 22, 2009
Messages
24
Thank you for the link...but it already cuts me at 40 Tags :( I only need 80... maybe the game reserves some for itsself... nevertheless:

Got a workaround is solved...
 
Status
Not open for further replies.
Top