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

[Solved] Floating text

Status
Not open for further replies.
100 per player at the same time (the stack goes from 99 to 0).

If some of the floating texts are not to be displayed to all players, you may want to create them locally (using if GetLocalPlayer()==YourPlayer then or whatever). They won't mess up with the handle stack since they use a separated ID stack, but that means you shouldn't use their IDs in hashtables for instance.

If you only show/hide floating texts instead of creating them locally, it will do strictly 100 at the same time.
 
this is what im doing

yes it leaks ik this.

  • Actions
    • Floating Text - Create floating text that reads (String(tempInt)) at (Center of (Playable map area)) with Z offset 0.00, using font size 50.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
    • Set text[tempInt] = (Last created floating text)
    • Floating Text - Change text[tempInt]: Disable permanence
    • Floating Text - Set the velocity of text[tempInt] to 64.00 towards 90.00 degrees
    • Floating Text - Change the fading age of text[tempInt] to 1.00 seconds
 
Status
Not open for further replies.
Top