From Stealth Client

Jump to: navigation, search


ArmsLayer

function ArmsLayer():Byte

Returns the layer number 0x13 - Arms(elbows)(Arms)

Example 1:

if ObjAtLayer(ArmsLayer) > 0 then 
  AddToSystemJournal('Arms ID:' + IntToStr(ObjAtLayer(ArmsLayer)));

Example 2:

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