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.
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;
def ArmsLayer(): --> ubyte