From Stealth Client

Jump to: navigation, search


H

HP

function HP():Integer

Same as Doc:Api/Life. Returns the char - healthy(HITS).

If there is no connection to the UO server - returns 0.

Example 1:

if (HP > 0) then
begin
  '' Do something
end;

Example 2:

AddToSystemJournal('Health Chara:' + IntToStr(HP));

HTTP_Body

function HTTP_Body : String

HTTP_Get

procedure HTTP_Get(URL : String)

HTTP_Header

function HTTP_Header : String

HTTP_Post

function HTTP_Post(URL : String; PostData: TStringList) : String


HairLayer

function HairLayer():Byte

Returns the layer number 0x0B - Hair(Hair).

This layer is removed by means of a client can not directly!

Example:

if ObjAtLayer(HairLayer) > 0 then 
  AddToSystemJournal('Hair ID:' + IntToStr(ObjAtLayer(HairLayer)));

Halt

procedure Halt;

Immediate stop of PAX script execution.


HatLayer

function HatLayer():Byte

Returns the layer number 0x06 - headdress - a helmet, hat, etc.(Hat).

Example 1:

if ObjAtLayer(HatLayer) > 0 then 
  AddToSystemJournal('Hat ID:' + IntToStr(ObjAtLayer(HatLayer)));

Example 2:

{If there is something on a layer, then remove}
if ObjAtLayer(HatLayer) <> 0 then
  begin
    unequip(HatLayer);
    wait(1000);
  end;

HelpRequest

procedure HelpRequest

Same as pressing button "Help" on paperdoll in client.


Hidden

function Hidden():Boolean

Returns the char - Stealth(Hidden).

If there is no connection to the UO server - returns False.

Example 1:

if(not Hidden) then
begin
  UseSkill('Hiding');
end;

Example 2:

if(not Hidden) then
  AddToSystemJournal('char is visible')
else
  AddToSystemJournal('char is hidden');

HighJournal

function HighJournal:Integer

Senior index of log lines


HorseLayer

function HorseLayer():Byte

Returns the layer number 0x19 - ID seat(if you spell horse)(Mount).

The result of the ObjAtLayer(HorseLayer) does not equal driving NPC ID, which sits on the spell.

Example 1:

if ObjAtLayer(HorseLayer) > 0 then 
  AddToSystemJournal('Mount ID:' + IntToStr(ObjAtLayer(HorseLayer)));