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

Floating Text question

Status
Not open for further replies.
Level 6
Joined
Sep 9, 2006
Messages
92
Lets say i want a floating text that displays something and rises and fades.

  • Floating Text - Create floating text that reads (String(HealTicks[(Integer A)])) above Target[(Integer A)] with Z offset 0.00, using font size 9.00, color (10.00%, 100.00%, 10.00%), and 0.00% transparency
  • Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
  • Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
  • Floating Text - Change the fading age of (Last created floating text) to 1.00 seconds
  • Floating Text - Change (Last created floating text): Disable permanence
Is this:
  • Floating Text - Change (Last created floating text): Disable permanence
needed?

Also, does
  • Floating Text - Create floating text that reads (String(HealTicks[(Integer A)])) above Target[(Integer A)] with Z offset 0.00, using font size 9.00, color (10.00%, 100.00%, 10.00%), and 0.00% transparency
leak a point? as in set position of unit to a temp point then remove it after this
 
I use this:


  • Floating Text
    • -------- Creating and setting floating text --------
    • Floating Text - Create floating text that reads (<String>) above (<unit/point>) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
    • Floating Text - Change (Last created floating text): Disable permanence
    • Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
    • Floating Text - Change the fading age of (Last created floating text) to 3.00 seconds
    • Floating Text - Change the lifespan of (Last created floating text) to 5.00 seconds
It works nice, only the fading is a bit long, but you can change that ^^
 
Status
Not open for further replies.
Top