From Stealth Client

Jump to: navigation, search


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;