• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

Floating Text Question

Status
Not open for further replies.
Level 6
Joined
Apr 27, 2006
Messages
186
What would be the GUI code for making a given floating text variable, makes that variable's floating text rise up while fading gradually (eventually disappears)

I thought:
Actions
Floating Text - Create floating text that reads ! above explosionUnit with Z offset 100.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
Floating Text - Change (Last created floating text): Disable permanence
Floating Text - Change the fading age of (Last created floating text) to 0.50 seconds


Would work, or at least make the floating text fade, but it doesn't.
 
Level 6
Joined
Apr 27, 2006
Messages
186
To make it float upwards change velocity.
Would I have to use a for loop for that, or does it do it automatically over X seconds?

You also need to Disable Permanence.
Floating Text - Change (Last created floating text): Disable permanence
-.-
 
Level 9
Joined
May 28, 2007
Messages
365
  • Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
You can mess around with the velocity amount, I believe 64 is like normal Blizz, 32 is a little slower. Only need to run it per Floating Text just once.

Sorry about earlier, didn't read Disable Permanence in your post. My bad.
 
Status
Not open for further replies.
Top