HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Linking unit attributes in the tooltip

06-15-2003, 05:37 PM#1
Neo_Genesis
Dose anyone know if it is possible to use a genaric link code in a units extended tooltip for listing the units attributes for example:

Say I wanted to give the units damage and life in the extended tooltip is there a way to some how say

"This unit does <unitsdmg> and has <unitslife> life"

without writing

"This unit does 50 and has 1000 life"

where <unitsdmg> refers to the units damage and
<unitslife> refers to the units life.

Thanks for anyhelp you can give me

Neo_Genesis
06-15-2003, 05:47 PM#2
Milkman
I don't think it's possible whatsoever to refer to an integer in a tooltip as they are quite seperated... why would you want it btw, if u type <life> and <dmg> you would still have to type it out...
06-15-2003, 06:23 PM#3
Neo_Genesis
Becuase then I would only have to type it once for each unit instead of twice.

Since my map has 100+ units doing major balance changes can be a pain in the *** =/

But I figured that was the case.

Neo_Genesis
06-15-2003, 07:16 PM#4
Milkman
I see your Point... It might be done with a lot of weird *** editing and stuff but it wouldnät be worth the effort
06-15-2003, 09:10 PM#5
piRo-piOn
hmm... if the .w3m file is the same as an slk (which i doubt it is but...) then you could probably link it to the comlum (like in spell editing).
06-16-2003, 04:17 AM#6
Neo_Genesis
Thats where I got the idea actualy was the spell slk files but I can find no referance to it.

But milkman is right its prolly not worth the effort.
06-16-2003, 06:28 AM#7
Krakou
Look at healing or mana potion, this are good exemples of what you can et cannot do.