GetHP

Returns character property HP (life)

Pascal Syntax:

function GetHP(ObjID : Cardinal) : Integer;

Pascal Example:

while GetHP(Self) < 50 do
begin
  WaitTargetSelf;
  UseObject(bandage_type);
end;

Python Syntax:

def GetHP(ObjID): --> int