how do i add a over head stat meter??
i have a stat meter but how do i get it as an overlay thx in advance
Zog
ID:270180
![]() Jan 29 2006, 11:23 am
|
|
yea but i want to know how to get it over head i got one in stat panel by
stat("Health:",src.health_meter)
but how would i get it as a mob ovelay
src.overlays+=src.health_meter //??????????<-----does not work
but over head ?? |
I think I am a tad confused. Do you mean an actual bar, that goes down when he is damaged and goes up when healed, or do you mean a number? You could probally search for both and find demos/libraries on them. Just take the time to search.
-Doh |
the actual BAR over head yes and ihave benn looking 4 along time and alos the ones that could be it dont work >.> (cant download um or faild to unzip)
|
Constantine
i am sorry about my lack of discription in my request but all what u have said i know and have tried but with all my cretive effots have falied so iam asking u how do i get this pice of codeing as an overlay this is exactl what iam woking with plz help mob mob that i the exact codeing this works fine in the stat panel but how do i get this as an overlay **sorry for the size of the codeing* |
I explained to someone else a while ago on how to make a stat meter on a player: [link]
~~> Unknown Person |
y is this so hard .....
mob this is what i understand so far but that does not work help .... |
mob This is a Demo i found on byond a while ago and edited it myself. If you need any more help like if its not showing or anything just leave another message. |
now whan i complie and run in the text box this come up
Setting network delay to 0. Zog 200 has logged in. runtime error: Division by zero proc name: Stat (/mob/Stat) usr: Zog 200 (/mob/Character) src: Zog 200 (/mob/Character) call stack: and the bar does not do down with the health |
http://h1.ripway.com/Hoff0992/icons.zip
Go there and download those stat bars and try to use them instead. |
If you mean HUD (Heads Up Display) Meter, you may want to look at Shadowdarke's HUDMeter. It is a great library, and amazinly easy to use.
-Doh