Ok so what I want to do is pretty simple, all I want to do is display a mana/energy bar basically the same way as in WoW. I realize this is possible with a boss bar but I don't want to have 2 boss bars, as I already have one displaying the unit's health and it looks bad since they both have pictures. Sorry if this question has already been answered somewhere else... but I looked around a bit before posting and surprisingly I didn't find anything on the subject. Thanks in advance for any feedback.
The way I'm doing it in my current project is by adjusting the width of a dialog item image (set to "blue.dds" and anchored to the left so it shrinks properly) based on the amount of energy the unit has. The function to update it is called every time a unit of that type's energy changes.
@JPLetters: Go
Hmm ok that sounds pretty good. So basically just have the dialog item change size depending on the unit's current energy? I'll give that a try.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Ok so what I want to do is pretty simple, all I want to do is display a mana/energy bar basically the same way as in WoW. I realize this is possible with a boss bar but I don't want to have 2 boss bars, as I already have one displaying the unit's health and it looks bad since they both have pictures. Sorry if this question has already been answered somewhere else... but I looked around a bit before posting and surprisingly I didn't find anything on the subject. Thanks in advance for any feedback.
The way I'm doing it in my current project is by adjusting the width of a dialog item image (set to "blue.dds" and anchored to the left so it shrinks properly) based on the amount of energy the unit has. The function to update it is called every time a unit of that type's energy changes.
@JPLetters: Go Hmm ok that sounds pretty good. So basically just have the dialog item change size depending on the unit's current energy? I'll give that a try.