• 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.

Life Bar

Status
Not open for further replies.
I used the mana bar program, too.

~but i want it on my map :cry:

so you have to use triggers

create a string which looks like |||||||||||||||||||||||||||||||||||||| (100 long)
and then create a floating text above every unit with mana reading (substring of ||||... from 0 to percent of unit mana)

there is a floating text limit of 100 so you can't have it above every unit so something dynamic for all units, on the screen for example, would make more sense
you can also use images
there are great vJASS libraries for it
but not only for working with images but also for bars of all kind of types
just use google or the search from hiveworkshop (also wc3c has stuff like that and probably thehelper, too)

and some links to show you that the search really works
http://www.hiveworkshop.com/forums/spells-569/custom-bar-library-1-5-0-a-121269/
http://www.hiveworkshop.com/forums/spells-569/system-vjass-custombar-146329/
http://www.hiveworkshop.com/forums/spells-569/imagebars-1-1-3-a-150670/
 
Status
Not open for further replies.
Top