Home API Manuals About Forum
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

BraceLayer

Returns layer number $E - Bracelet.

Normally, that should be a simple constant, not function. But due to backwards compatibility it should be keeped as function.

DWS\Pascal Script:

function BraceLayer : Byte;

DWS\Pascal Script Example:

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

Python:

def BraceLayer(): --> ubyte