• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

how to make fading text

Status
Not open for further replies.
Level 2
Joined
Apr 13, 2014
Messages
15
hi i want to know how to make a text like the text shows up when you returning gold or lumber to the town hall (+10) , (its fading in 2 seconds)
 
Level 25
Joined
Sep 26, 2009
Messages
2,378
  • Floating Text - Create floating text that reads *Your_text* above *unit* with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.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 (Last created floating text): Disable permanence
  • Floating Text - Change the lifespan of (Last created floating text) to 3.00 seconds
  • Floating Text - Change the fading age of (Last created floating text) to 2.00 seconds
You can use the other action to create floating text at point.
  • Floating Text - Create floating text that reads *Your_text* at *location* with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
Don't forget to save the location first and then refer to that location via variable for the action above, else you will leak location.
 
Status
Not open for further replies.
Top