• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Building HP bar problem

Status
Not open for further replies.
Level 1
Joined
Jan 17, 2010
Messages
1
Hi Hive,
I hope u can help me.
In the map i am working on, i have buildings, which need to "save" 3 integer-values.
One of them can be invisible to the user, I used the custom value for that, and the other two are supposed to be visible to the user at any time.
So I thought I'd just use the HP and Mana for that. The Mana isn't used for anything else and because the buildings are invulnerable at all times it doesn't matter if their HP are low or high.

The problem is that when I make any building invulnerable, its HP-bar vanishes, as well as the HP-number above the mana when you click on the building and look below the portrait.
My first question would be: How is it possible to make the game show the HP of a building, even though it's invulnerable?

My solution at the moment is to classify the building as a unit, thus showing the HP. But now I can't see the production queue when I train units in that building.
So my second queston is: How can you make a unit show a production queue?
(I am German, so I'm not rly sure if queue is the right word here, but I mean the list of units/upgrades which are produced in the building at the moment...)

If only one of the two is possible my problem is solved... :grin:
 
Status
Not open for further replies.
Top