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!
Hey guys I'm making a new map and would like to know how to make floating text. By that I mean like when you hit a crit it displays damage and when you kill a creep it will display how much gold you got for it.
Floating Text - Create floating text that reads *message above (Triggering unit) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
// How fast the text moves towards which angle
Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
// Allows the text to be removed
Floating Text - Change (Last created floating text): Disable permanence
// The text is destroyed after 2 seconds
Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
// The text starts to fade after 1.5 seconds
Floating Text - Change the fading age of (Last created floating text) to 1.50 seconds
Use the event you need, use correct unit above which you create the text. You can convert reals/integers to strings so you can display damage for example.
Floating Text - Create floating text that reads *message above (Triggering unit) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
// How fast the text moves towards which angle
Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
// Allows the text to be removed
Floating Text - Change (Last created floating text): Disable permanence
// The text is destroyed after 2 seconds
Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
// The text starts to fade after 1.5 seconds
Floating Text - Change the fading age of (Last created floating text) to 1.50 seconds
Use the event you need, use correct unit above which you create the text. You can convert reals/integers to strings so you can display damage for example.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.