| 01-03-2006, 05:14 AM | #1 |
Hello WE gurus. I am wondering what is the best way I could show mana levels on a unit in a way similar to the health indicators on units when you hover over them or press ALT. Currently I have a trigger to set the units health to equal its mana + 1. But I need these units to be invulnerable, and doing that makes them not show health. It doesn't have to be exactly like a health bar. I just need a quick visual way to see how much mana units have. Thanks. |
| 01-03-2006, 08:00 AM | #2 |
Didn't they do something similar to this in the official Blizzard release of Skibi's? You might want to open that map up and give it a shot. You should already have it if you have the most recent patch of TFT. |
| 01-03-2006, 08:04 AM | #3 |
I think the way it was done in Skibi was blue floating text above the unit with the scale of the unit's mana done with the "|" character. I haven't checked, but that is what it looked like. |
| 01-03-2006, 11:44 AM | #4 | |
Quote:
|
| 01-03-2006, 08:13 PM | #5 |
Ok, I haven't played that TD but I think they did the same thing with the new Bomber Command game on the airports. I couldn't figure out how they did it when I tried analyzing that map but I did guess it was floating text. I guess they make a string of colored text based on whatever percent they are measuring (in my case mana) using a for loop to add each "|" and then concatenate another such string of length 100 - measured percent, in white text, to get the total length of the bar. Does that sound right? Seems rather complicated and processor intensive. Is there a more efficient way? |
| 01-07-2006, 07:50 PM | #6 |
I'll add some question to this post, @Vexorian: How did you made creation indicator for your Carrier? (interceptors making indicator) |
| 01-07-2006, 08:02 PM | #7 |
there are lots of ways how you can do it I guess, ussing gametext with blue colors and black colors and ''||||'' signs colors would be one to be creative ;) |
| 01-07-2006, 08:04 PM | #8 |
I don't remember but I think it was in interface... |
| 01-07-2006, 08:39 PM | #9 | |
Quote:
|
