| 10-26-2005, 07:30 PM | #1 |
Is there a way that i can keep one floating text seperate from another? I have floating text set up to start when a unit dies... but most of the time several units die at the same time and the floating text does not get destroyed its just the last created that gets destroyed. So i want to know if there is a way to make it so that when a group of units die at the same time all of them get destroyed instead of just one. |
| 10-26-2005, 11:27 PM | #2 |
either use an array of floating texts, or use a little bit of jass. The little bit of jass would be this: first line: JASS:local texttag t JASS:set t = bj_lastCreatedTextTag JASS:call DestroyTextTag(t) note that jass IS case-sensitive so you need to either copy paste this or be carefull. |
| 10-27-2005, 03:32 AM | #3 |
Ok and how would i go about making jass code that would make the text move upward at a certain speed? |
| 10-27-2005, 09:17 AM | #4 |
If I'm not mistaken, you can do that without jass. Just treat it as a normal float text, and set the parameters using the GUI functions. After you're done, then you set it to a local variable and destroy it. |
| 10-28-2005, 02:18 AM | #5 |
No that does not work i just wanted to know what the jass function was so i could complete it... I already tried using all the gui functions |
| 10-28-2005, 06:19 AM | #6 | |
Quote:
Well, it is possible, lookie here. |
| 10-28-2005, 12:48 PM | #7 |
Well i think you are doing something wrong..plz post your trigger. |
