Floating Texts...

Status
Not open for further replies.
Level 5
Joined
Jan 15, 2009
Messages
80
OK well this hasn't worked for me.. for as long as I've been trying to do it... Here's the trigger
  • Actions
    • Floating Text - Create floating text that reads What ever above (Unit) with Z offset 0.00, using font size 8.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
    • Floating Text - Change the fading age of (Last created floating text) to 2.00 seconds
That might not work but even when I switched it to this
  • Actions
    • Floating Text - Create floating text that reads What ever above (Unit) with Z offset 0.00, using font size 8.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
    • Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
... It just never works for me, what am I doing wrong? If I am doing anything wrong it has to be something obvious... +Rep to who ever can help me get it to work well!!!

P.S What doesn't work (LOL I forgot to say what doesn't work) is that it never dissapears.
 
Last edited:

sPy

sPy

Level 22
Joined
Apr 10, 2009
Messages
380
  • Rawr
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Floating Text - Create floating text that reads Hes da King above Paladin 0000 <gen> with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
      • Floating Text - Change (Last created floating text): Disable permanence
      • Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
It works for me if I make it like this.
 
Level 17
Joined
Nov 11, 2010
Messages
1,974
Use this
  • Base
  • Time - Time Elapsed is 1.00 Seconds
  • Floating Text -Create Floating Text (blahblahblah you know whats here)
  • Wait 5 Seconds
  • Floating Text - Destroy (Last Created Floating Text)
Hope this helped o:
 
Level 17
Joined
Nov 11, 2010
Messages
1,974
If there is more than one text up, then put Wait and Destroy at the end of each Floating Text.

Like this
  • Base
  • Time - Time Elapsed is 1.00 Seconds
  • Floating Text - Creating Floating Text
  • Wait - Wait for 5.00 seconds
  • Floating Text - Destroy (last created Floating Text)
  • Floating Text - Creating Floating Text
  • Wait - Wait for 5.00 seconds
  • Floating Text - Destroy (last created Floating Text)
If they are on more than one trigger, you should put wait for how long you want it up then destroy it. Simple as that. :)
 
Level 5
Joined
Jan 15, 2009
Messages
80
I have the trigger starting by giving the picked unit experience and gold, then I want it to display text for people whose characters are within range? How would I do that?
If they are on more than one trigger, you should put wait for how long you want it up then destroy it. Simple as that. :)
OK, but what if I wanted to use only 1 trigger, and then there were 12 texts up and they all had velocity... The first text would go up really far and would take too long to be destroyed.


EDIT: Nvm I found out a way to do what I wanted... +Rep to both of you, sPy for making it work, and to stevienicks for trying so hard. :D
 

sPy

sPy

Level 22
Joined
Apr 10, 2009
Messages
380
Okay if you wan velocity and fading, you could just use this:
  • Rawr
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Floating Text - Create floating text that reads Hes da King above Paladin 0001 <gen> 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 36.00 towards 90.00 degrees
      • Floating Text - Change (Last created floating text): Disable permanence
      • Floating Text - Change the fading age of (Last created floating text) to 2.50 seconds
      • Floating Text - Change the lifespan of (Last created floating text) to 5.00 seconds
Tested and it works :) HOWEVER, its not guaranteed to be leakless or such

Edit: oops, didn't see your edit lol
 
Level 17
Joined
Nov 11, 2010
Messages
1,974
First thing is like this -
  • Funk
  • Unit - A unit enters Region 000 <gen>
  • ((Triggering Unit) is A Hero) Equal to True
  • Floating Text - Create Floating Text
  • Wait - Wait for 5.00 (or however long you want to put it)
  • Floating Text - Destroy (last created Floating Text)
And just so you know, by destroying the text you make it leakless.
 
Status
Not open for further replies.
Top