• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[Solved] Custom healthbar

Status
Not open for further replies.
Here is an Example map :) hf and check the Import too just read i left some Comments because im lazy as shit Sorry for my Doublepost i need to learn to ignore people realy :)

Edit: i left the Mana Bar only so you can have an example for it too you can still remove it like you wish
 

Attachments

Wow, tryed to help some one out but k I will ignore you ;)
1639829648772.png
 
So you want to do a Boss map ?
Which Player Should be the Boss ? So i can Send you some example map How it’s Done :)

And With some Play around and changing some Numbers you can achive That...

Hey, thanks for helping me out, i appreciate it!

I would definitely only need the boss bar for 1 player, and that is computer controlled - player 9.

However, only 1 unit at a time would need this health bar, and that would be bosses once they spawn periodically (I can store them in a unit variable if that's going to make it easier on me I guess).


I'm not very good with JASS (but I do understand it a little bit) so can you shortly guide me through what would I have to change in order to acquire the results that I want (aka setting it only for player 9).

Also when a unit dies, how do you remove the bar from existing? (in the test map the bar is still active even after Mannoroth's death)

Thank you!
 
Last edited by a moderator:
You need to understand that we turn things like this hp bar hiding after we create it that means it’s all the time there you just show it when the boss fight starts and hide it again after the boss ist dead..
The variable U[array 1] is for the boss I left it an array so you can easily can do 2 boss health depending on designe if you want a double boss fight or what ever

You can overwrite the U[1] variable so it shows the next boss and Then you turn it to show you can see the trigger where I use a custom script to show Mybar1 = hp bar of the boss and Mybar10 = mana bar
Just use this custom scripts after you event to show them

And to hide in the creating of the bar you find a jass Part for hiding just copy it and put it in a new custom script for GUI use

If you have any problems I can help out
 
Status
Not open for further replies.
Back
Top