- Joined
- Oct 14, 2008
- Messages
- 3
Hello All!
I've just recently started playing around with the Wc3 editor, and have run into a bit of a problem while working on tooltips for custom heroes.
When selecting a hero from the hero tavern, I want the tooltip to display data similar to DotA, where you can see the starting stats (str, agi, int, movement speed, etc) in the tooltip.
I obviously want to avoid hard-coding in these values, so this is the type of code I've been using to try and get the tooltip to display the values:
According to the raw data, the name of the hero in the treeview is "H000:Hpal".
But when I run the game, the tooltip displays all values as 0. I've tried changing the H000, the STR, and a bunch of other whacky stuff, but I can't seem to figure out why the values aren't being displayed correctly
So basically if anyone can let me know what (probably obvious) mistake I'm making, I would be glad to hear it!
-CaptainRandom
I've just recently started playing around with the Wc3 editor, and have run into a bit of a problem while working on tooltips for custom heroes.
When selecting a hero from the hero tavern, I want the tooltip to display data similar to DotA, where you can see the starting stats (str, agi, int, movement speed, etc) in the tooltip.
I obviously want to avoid hard-coding in these values, so this is the type of code I've been using to try and get the tooltip to display the values:
Code:
Strength - <H000, STR> + <H000, STRplus>
According to the raw data, the name of the hero in the treeview is "H000:Hpal".
But when I run the game, the tooltip displays all values as 0. I've tried changing the H000, the STR, and a bunch of other whacky stuff, but I can't seem to figure out why the values aren't being displayed correctly
So basically if anyone can let me know what (probably obvious) mistake I'm making, I would be glad to hear it!
-CaptainRandom