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

Status
Not open for further replies.
Level 4
Joined
Aug 7, 2008
Messages
115
My question is how to make a floating text above the unit when i casts something..
example : A footman casts Frost Nova on a target and 1 second after shows up a Floating text in (white,blue..whatever wich color is[Like critical damage number]) Frost Nova!
 
Last edited:
Level 7
Joined
Jul 6, 2008
Messages
314
Event: A unit begins casting an ability
Conditions: ?
Action: Create Floating Text that reads (Name of Ability Being Cast) over the unit (Casting Unit)
Edit: Change Lifespan of last created floating text to (x) seconds

How you destroy them is up to you I guess..
 
Level 28
Joined
Mar 25, 2008
Messages
2,955
  • Actions
    • Set tmppkt = (Center of (Playable map area))
    • Floating Text - Create floating text that reads String(Name of ability being cast) at tmppkt with Z offset 0.00, using font size 10.00, color (50.00%, 0.00%, 0.00%), and 0.00% transparency
    • Floating Text - Change (Last created floating text): Deactivate permanence
    • 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 - Set the velocity of (Last created floating text) to 32.00 towards 90.00 degrees
    • Floating Text - Show (Last created floating text) for (All players)
    • Custom script: call RemoveLocation(udg_split_tmppkt)
This makes a floating text appear, set it's duration to 2s, begin it's fading after 1s and to move slowly upwards.
You also can set the text to a unit or else
 
Status
Not open for further replies.
Top