| 04-20-2005, 08:41 PM | #1 |
Well, theres not much besides the title. I mean i saw one map that did change tooltips but that might have just been changing the entire thing to another one with a new tooltip, which is outta the question. |
| 04-20-2005, 08:45 PM | #2 |
Guest | I haven't tried this but can't you make a string variable, set the variable as the tooltip, and then change the variable when you need to? |
| 04-20-2005, 09:10 PM | #3 |
Guest | I guess the only way would be to replace the unit completely by a new one with the same properties but not the same tech tree... but it would be long and fastidious Maybe JASS can do another miracle... |
| 04-20-2005, 10:24 PM | #4 | |
Quote:
point me to this magic function that does this and i'm good to go... |
| 04-20-2005, 10:32 PM | #5 | |
Guest | Quote:
Set variable |
| 04-21-2005, 04:56 AM | #6 |
Setting a string variable to a tooltip wouldn't change the tooltip if the variable is edited. It would only effect the variable. Unless there is some magical function in JASS, you're going to have to do what BFD said, create many things with same properties, and different tooltips. |
| 04-21-2005, 07:27 AM | #7 | |
Quote:
well, thats not happening since i'm not making 5096*1024*5096*512*100*100*100*100*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*20000*256*80*60*256*256*256 *256*256*256*256*131072*131072 items... nor do i have the time nor is it possible |
| 04-21-2005, 07:27 AM | #8 | |
Quote:
really, set variable, and how do you magically use this to change a tooltip? i'm all a quiver as to how you're gonna pull this off, its exciting! |
| 04-21-2005, 07:52 AM | #9 | |
Guest | Quote:
Are you actually serious? Look harder. A noob can pull this off. |
| 04-21-2005, 08:04 AM | #10 |
Now, now, let's not get nasty, both of you! I'm interested as well how you could make the tooltips of a spell display a variable's value. I know you can link them to display a certain data field of the spell, but to display a variable?... how? |
| 04-21-2005, 08:46 AM | #11 | |
Guest | Quote:
You can't. Originally I posted you might be able to do it. You know I'm a newbie, and it sounds logical that you can set a string variable as the tooltip and then be able to change it later in the game. But he was an ass to me so I was an ass back. |
| 04-21-2005, 02:17 PM | #12 |
your answer was stupid... plain and simple, he was just notifying you that you cannot do that using the function you suggested. You had no right to call him a noob, and you are obviously a noob for saying that function... ontopic... i think that would be cool, possibly there might be a little gem hidden away in warcraft that allows you to display things in tooltips... eg. how you can put the duration of a spell as <aatg:Dur1> but be able to call a variable or something <string:item1> wish you could to that |
| 04-21-2005, 06:10 PM | #13 | |
Quote:
hmm, but that would have to be some kind of data-table and not a string... it would be interesting if we could import a data-table and then access it through the same way but again thats off-topic... though a static data-table wouldn't help either anyways... if sure if there was a little gem, bliz woulda already used it :p and OT, sorry if i offended you Galbuu, but i do a lot of searching and verifying before i post a solution, when you say "use set variable" it sounds like you're insulting my intelligence -- again no hard feelings |
| 04-21-2005, 06:38 PM | #14 | |
Guest | Quote:
Might want to read that post over, bud. And Raptor, ![]() |
| 04-21-2005, 06:49 PM | #15 |
Like somone said earlier, I think your best best would be to create anothe ability or w/e and use the raw values thing. Not the easiest way but probally the only way. =/ |
