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

Make floating text move ?

Status
Not open for further replies.
Level 5
Joined
May 12, 2013
Messages
70
Hey everyone, this might seem a really stupid question ( because you might know it) but all the floating texts that i create remain at that point on the ground. I want them to move with the screen, just like the way in DotA. If i move the screen with the mouse the text moves with it not just fixed to a unit or point on the map. How do i do it ?
I heard something about velocity and permenance but i dont know what they are =( ? Please help !
 
Hey everyone, this might seem a really stupid question ( because you might know it) but all the floating texts that i create remain at that point on the ground. I want them to move with the screen, just like the way in DotA. If i move the screen with the mouse the text moves with it not just fixed to a unit or point on the map. How do i do it ?
I heard something about velocity and permenance but i dont know what they are =( ? Please help !
Velocity will move the text.
Permanence needs to be disabled if you wish the floating text to be removed.

Here's an example:
  • Actions
    • Floating Text - Create floating text that reads <YOUR TEXT HERE> at Point with Z offset <TEXT HEIGHT>, 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 <YOUR SPEED HERE> towards <YOUR ANGLE HERE> degrees
    • Floating Text - Change (Last created floating text): Disable permanence
    • Floating Text - Change the lifespan of (Last created floating text) to 1.00 seconds
    • Floating Text - Change the fading age of (Last created floating text) to 0.50 seconds
First action creates the text
Second makes it move with certain speed towards certain direction
Third enables the text to be destroyed
Fourth Destroys the text in one second
Last makes the text start fading after half a second
 
Level 23
Joined
Oct 20, 2012
Messages
3,075
Game texts are the ones that will appear as hints, quest messages stuff like that. In Dota, the game texts are the ones which appear after you enter some commands like -ap, -test, -xm, etc.

Floating Texts are kinda different. In Dota, floating texts are the things that appear when you deny a creep (!), kill an enemy tower (+300) things like that. :)

Game texts always moves with the screen while floating texts require some triggering to do that. I think.
 
Status
Not open for further replies.
Top