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

Critical Hit text effect

Status
Not open for further replies.
Level 3
Joined
Oct 10, 2008
Messages
20
Hi, i am not very good with floating text (it is annoying) and i need help with the fading...it doesn't seem to work. Please help?

  • Events
    • Player - Player 1 (Red) types a chat message containing -test as An exact match
  • Conditions
  • Actions
    • Floating Text - Create floating text that reads 100 above (Random unit from (Units owned by Player 1 (Red) of type Human)) with Z offset 0.00, using font size 7.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 1.00 seconds
    • Floating Text - Change the age of (Last created floating text) to 1.00 seconds
There seems to be something wrong...i want it to look like a critical strike kind of text but i don't know how to. I have several text's working and they scroll, but i can't get them to fade. :hohum:
 
Level 7
Joined
Jul 18, 2009
Messages
272
1) Maker is right.

2) This is how I did it in my map, it looks quite good with these values:
  • Floating Text - Create floating text that reads (- + (String((Integer(((Damage taken) + 0.50)))))) above (Triggering unit) with Z offset 0.00, using font size 9.00, color (100.00%, 0.00%, 0.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 2.50 seconds
  • Floating Text - Change the fading age of (Last created floating text) to 1.00 seconds
(The velocity thing is for the 'drifting away')
 
Status
Not open for further replies.
Top