From Stealth Client

Jump to: navigation, search


B

BM

function BM : Word;

Returns reagent type: Blood Moss

BMCount

function BMCount : Word;

Returns Blood Moss count in backpack.

BMSearch

function BMSearch(StartPos: Integer; const S, P: String): Integer

BP

function BP : Word;

Returns reagent type: Black Pearl

BPCount

function BPCount : Word;

Returns Black Pearl count in backpack.

Backpack

function Backpack():Cardinal

Returns the char - ID backpack(Backpack ID).

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

Often used, for example, in the search, index recipient to drag things on and so forth.

Example 1:

if Count(runes) < 10 then
begin
   MoveItem(runestack ,10-Count(runes), Backpack, 0,0,0)
end;

Example 2:

  FindType($ EED, Backpack)


BankLayer

function BankLayer():Byte

Returns the layer number 0x1C - His bank container(PC Bank Box). In the container of this layer:

  • Available information on this layer for a char.
  • Not available.
  • Do not open a Doc:Api/UseObject, and similar functions.

Example 1:

if ObjAtLayer(BankLayer) > 0 then 
  AddToSystemJournal('Bank Box ID:' + IntToStr(ObjAtLayer(BankLayer)));


BeardLayer

function BeardLayer():Byte

Returns the layer number 0x10 - Beard(Facial Hair Beard).

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

Example:

if ObjAtLayer(BeardLayer) > 0 then 
  AddToSystemJournal('Beard ID:' + IntToStr(ObjAtLayer(BeardLayer)));

Beep

procedure Beep

Sqeeks speaker.


Bow

function Bow

Bow(bow) - a gesture that will make your character

Example:

  Bow;


BpackLayer

function BpackLayer():Byte

Returns the layer number 0x15 - Bag character(Backpack).

The result of the ObjAtLayer(BpackLayer) should be similar to Doc:Api/Backpack

Example:

if ObjAtLayer(BpackLayer) > 0 then 
  AddToSystemJournal('Backpack ID:' + IntToStr(ObjAtLayer(BpackLayer)));


BraceLayer

function BraceLayer():Byte

Returns the layer number 0x0E - bracelet(Bracelet).

Example 1:

if ObjAtLayer(BraceLayer) > 0 then 
  AddToSystemJournal('Bracelet ID:' + IntToStr(ObjAtLayer(BraceLayer)));

Example 2:

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