Page 1 of 1

I need to see object's hit points in %

Posted: 2006-12-01 08:02:35
by Potkan
I need to see object's hit points in % beacuse i'm trying to make some healing script and i don't want to use a bandage every XXX ms.

Re: I need to see object's hit points in %

Posted: 2006-12-01 08:42:32
by Nmy
Potkan wrote:I need to see object's hit points in % beacuse i'm trying to make some healing script and i don't want to use a bandage every XXX ms.

search for any sparring script and you will find a good example

Re: I need to see object's hit points in %

Posted: 2006-12-01 10:09:24
by Edred
Potkan wrote:I need to see object's hit points in % beacuse i'm trying to make some healing script


Code: Select all

UO.Print(str(100*UO.GetHP('laststatus')/UO.GetMaxHP('laststatus'))+'%')