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

ArmsLayer

Returns layer number $13 - Arms(elbows)

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

DWS\Pascal Script:

function ArmsLayer : Byte;

DWS\Pascal Script Example 1:

if ObjAtLayer(ArmsLayer) > 0 then 
  AddToSystemJournal('Arms ID:$' + IntToHex(ObjAtLayer(ArmsLayer),8));

DWS\Pascal Script Example 2:

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

Python:

def ArmsLayer(): --> ubyte