This seems rather pointless, but nevertheless i will tell you how to do it.
You go in game. select a hero or whatever, the important part is that there must be a hero(unit) on the screen. Then you press and hold the 'Alt' button. There you go - a bar displaying the health of your hero.
Now you will go saying: "But ...". Well now, this is exactly what you said you wanted.
I fail to see your problem in your post.
It is kinda hard to follow your thought between the first sentence and the second one:
"Hello, since I have choosen to use the hero-buttons(top-left) as extra spells in my map. I need to show the life of the hero in some other way"
So you add some extra "hero icons" on the left. What is the relations of this to displaying the hero health?
Okay, let me explain it better, I was in a rush and though this was something that could be solved fast.
Here you go, forget the first post.. Good
First of all, I'm sorry if I'm somekind of a perfectionist, but this is important to me.
So here is my rather wierd and small problem: I have this arena map with both dps heroes and healing heroes, I found that the maximum of 4 spells/hero was rather low, so I made a system that enabled a player to buy extra abillities which can be used through the Hero button in the top-left corner by a simple trigger..
Event: 'Player Red Select a unit'
Condition: 'Selected Unit-Type Equal 'SpellUnit_Unholy Blood'
Action: 'Set Variable(CritChance) = 100.00' for Player(Triggering Player)
This is just an example to make you understand better, so when this unit-type named 'SpellUnit_UnholdBlood' is clicked the critchance(custom damage system) is set to 100(%). This unit('SpellUnit_UnholdBlood') is hidden when it's bough and is not in the viewable area, so it is not a real unit, it's just a work-around to use these quick-hero-buttons.
This system allowes me to make the players in the game to buy abillities from a unit-shop and use them on (F1, F2, F3, F4 and F5) so the maximum number of abillities is equal 9 insteed of the default 4..
So long so good. Now, since you normaly keep a close eye to how much life you hero has, it's nice that it is showen as default in the top-left corner, but since my system uses this corner for spells, I will have to use some other way to show the HP of the hero, and I though that a small HP-bar on the top of the hero would be nice.. I know this is posible with floating text, but also that it does not look very good this way. So I ask if anyone know a way to show a green bar/box over the hero, which width could be adjusted dynamicly. Just like floating text.
SO! it's really just a question about how I would show a floating box/bar/image over each hero in-game showing their HP in %. It does not matter if other players can see it too..
Sorry for my fail at ^gramar^ and explanision