As you can see, the unit status dialog is miss-sized.
The red button is size 76, but the unit status dialog is 100. If I set it to less than 100, it will properly resize BUT the actual life status of the unit will still behave as if the bar were 100 in length. If I set the status bar size to 76, it won't actually show the unit's life moving until it's below 76% life (the bar still thinks it's 100 long).
As an added bonus, setting the unit status dialog to MORE than 100 won't actually increase it's length. It'll just cap out at 100.
TL;DR "Unit Status" dialog items only seem to work properly when they are size 100. Any more or less and they won't function properly.
Anyone have any experience with this or know how to solve it? Am I missing something?
I kinda think a UI XML solution is where it's at though, since I think that despite being a trigger function, it's drawing upon UI data for it's attributes. I keep trying to find it but I'm awful with the UI editor so it's taking a while!
Sorry gonna need more detail here, but i'm guessing you're talking about the heat bar?, As it's made you have to save it to a variable and then update it.
So I'm after this;
And I have this;
As you can see, the unit status dialog is miss-sized.
The red button is size 76, but the unit status dialog is 100. If I set it to less than 100, it will properly resize BUT the actual life status of the unit will still behave as if the bar were 100 in length. If I set the status bar size to 76, it won't actually show the unit's life moving until it's below 76% life (the bar still thinks it's 100 long).
As an added bonus, setting the unit status dialog to MORE than 100 won't actually increase it's length. It'll just cap out at 100.
TL;DR "Unit Status" dialog items only seem to work properly when they are size 100. Any more or less and they won't function properly.
Anyone have any experience with this or know how to solve it? Am I missing something?
Thanks!
Could I see your UI XML? That might help. Worst case scenario you could use a progress bar instead.
Edit: nvm, you're using base blizzard unit status bars, let me see if i can whip something up, it'll be a bit.
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
Yep, it's the base blizzard unit status bar!
I kinda think a UI XML solution is where it's at though, since I think that despite being a trigger function, it's drawing upon UI data for it's attributes. I keep trying to find it but I'm awful with the UI editor so it's taking a while!
Sorry for getting back to you so late on this,//
You're are correct, you need to UI XML to achieve the correct width (no idea why blizzard did it this way)
Here's an Unit status bar example map, it'll give you the basic stuff you want. and then you can copy paste/modify the xml from there.
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
Heya,
Thanks a lot! This is great! I spent a while with it and couldn't manage to get the triggered dialog part to show up. Is there something I'm missing?
Sorry gonna need more detail here, but i'm guessing you're talking about the heat bar?, As it's made you have to save it to a variable and then update it.
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)