| 03-22-2008, 04:16 PM | #1 |
Using <A031,Dur1> on a real number rounds it to an integer. When I use <A031,Dur1,%> it multiplies it by 100, not what I need in this case. Is there some way to directly display values like 1.3 and 0.07 in tooltips using <> notation? EDIT: Lol it was obvious: <A031,Dur1,.> does the job. |
| 03-24-2008, 05:11 AM | #2 |
That's actually a handy tip. I'll add that to the sticky. |
| 03-24-2008, 01:59 PM | #3 |
OOoh, interesting, never knew that. Been doing those manually. |
| 03-25-2008, 09:23 AM | #4 |
Fuck you guys, now I have only one rep square instead of 4. Anyways wow noone knew this tooltip stuff before?It is year 2008 ffs, geez this wc3 mapping is like alchemy. |
| 03-25-2008, 01:52 PM | #5 |
It's a rare notation; the only place I can remember seeing it used in the default spells' data is on Devotion Aura. For most people, it's not important to be that specific. On the user's end you usually can't tell the difference of something smaller than an integer anyway. |
| 03-25-2008, 04:16 PM | #6 |
Plus, most people just write out the tooltips themselves manually. |
| 03-26-2008, 01:30 PM | #7 |
Eww... god, I hope not. It's far easier to spend the extra 30 seconds to use the database-reading notation and it leads to less inaccuracy in the long run when you have to alter a spell's stats and forget to alter the tooltip or alter it incorrectly. Now hear this! Always use these! Don't enter the values manually! You will create joy for yourself in the future if you use these dynamic tooltips! You will create evil and displeasure for yourself if you use static tooltips! |
| 03-26-2008, 02:18 PM | #8 |
I use static tooltips because everything I do uses triggers for the damage anyway. |
| 03-26-2008, 02:35 PM | #9 | |
Quote:
|
| 03-26-2008, 03:14 PM | #10 | |
Quote:
Indeed. This discovery is particularly useful for me, since my maps tend to have average hp around 25, making those small values all so very important. While we are on the subject, is there any way to do dynamic data for units, particularly points value? |
| 03-26-2008, 08:24 PM | #11 |
Did you try "<hfoo, points>"? |
| 03-26-2008, 08:37 PM | #12 |
Yes, and it doesn't work. |
| 03-27-2008, 04:14 AM | #13 |
I really wish I knew of a way to put strings there. I'd help me a lot with some tooltips concerning upgrades and such. And yeah, not much data can be put on the tooltip query notation, which kind of sucks. |
