Floating Text not Appearing

Darkness47

New Member
Reaction score
3
Hi there,

Only a few (obiously randomly) of those floating texts show up. I mean there are some Income Management without floating text over it. Why?

Trigger:
  • Events
    • Time - Elapsed game time is 5.00 seconds
Trigger:
  • Conditions
Trigger:
  • Actions
    • Set TempGroup = (Units of type Income Management)
    • Unit Group - Pick every unit in TempGroup and do (Actions)
      • Loop - Actions
        • Floating Text - Create floating text that reads Income at ((Position of (Picked unit)) offset by (-90.00, 0.00)) with Z offset 0.00, using font size 13.00, color (50.00%, 100.00%, 0.00%), and 0.00% transparency
    • Custom script: call DestroyGroup (udg_TempGroup)
 

Moridin

Snow Leopard
Reaction score
144
Well, the trigger should work, unless there's some sort of limit on floating text that I'm not aware of.

One thing you should know though, is that you're leaking 2 points over here:

Floating Text - Create floating text that reads Income at ((Position of (Picked unit)) offset by (-90.00, 0.00)) with Z offset 0.00, using font size 13.00, color (50.00%, 100.00%, 0.00%), and 0.00% transparency

You need to set the Boldened part to a point variable 1, then the underlined part to a point variable 2, then remove them after the trigger is done. :)
 

Darkness47

New Member
Reaction score
3
There aren't much of them (like 15) and i've only put 4 more floating text on the whole map.
So if ever there is a limit, it shouldn't apply here.

Thank you for the leak, though i already knew that, but i tried to keep the points to see if that would show the texts or w/e.
 

Tyman2007

Ya Rly >.
Reaction score
74
There is in fact a maximum amount of text tags (floating text) that you can have on the screen at one time.

The WC3 client can only handle 100 text tags. :p So I suggest an alternative.

Just use game messages displaying to the players individually :p Cliche, but it works well.
 

Guest3z

New Member
Reaction score
22
Maybe try
Trigger:
  • Floating Text - Show (Last created floating text) for (All players)

and / or
Trigger:
  • Floating Text - Change (Last created floating text): Enable permanence
 

Accname

2D-Graphics enthusiast
Reaction score
1,464
as tyman said, there is a limit. maybe use some ability workaround to show it as text. there is an item which is giving gold and showing a text as well, just use its ability maybe.
 

Darkness47

New Member
Reaction score
3
There is in fact a maximum amount of text tags (floating text) that you can have on the screen at one time.

The WC3 client can only handle 100 text tags. :p So I suggest an alternative.

Just use game messages displaying to the players individually :p Cliche, but it works well.

Thanks. Currently, across the whole map i have 26 text tags. That's not over the limit

Maybe try
Trigger:
  • Floating Text - Show (Last created floating text) for (All players)

and / or
Trigger:
  • Floating Text - Change (Last created floating text): Enable permanence

Doesn't work.
 

Darkness47

New Member
Reaction score
3
For a reason I can't explain, they show up if the camera is on their location when they are created.
So when i pan the camera on every point before creating the floating text, the 22 floating texts i wanted to appear stay on the map.
I have to put at least a 0.01 second wait between each camera pan.

When I do not pan camera, even using
Trigger:
  • Floating Text - Show (Last created floating text) for (All players)

,only a ten will show up.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      • Ghan
        Administrator - Servers are fun

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top