|
What I like to do is just create the healthbar itself. This is about the only way you can make a health bar that isn't one flat color.
Sure, it'll take like 30 minutes to do, but it's worth the neatness :P
If you wanted to create something like every character on screen has a healthbar, I'd suggest using parents.
If you want to be particularly lazy, use the draw_healthbar command It's incredibly easy to use. It's slightly more complicated than the rectangle, but you should still be able to use it well.
And yes, it's possible to do HP higher than the usual 100.
Just put this under amount: (hp/mxhp)*100
Basically, you have your current hp, divided by max hp, and then the *100 is so it's a value that the healthbar can read.
Eg.
83/467 = about .18. * 100 will give you about 17.8. The healthbar will then interpret the value as such (17.8), and your healthar will appear as if you had 17 hp (aka, 17% of your max hp.).
This post has been edited by Soiyeruda on Jul 10 2008, 02:43 AM
|