From Stealth Client

Jump to: navigation, search


BpackLayer

function BpackLayer():Byte

Returns the layer number 0x15 - Bag character(Backpack).

The result of the ObjAtLayer(BpackLayer) should be similar to Doc:Api/Backpack

Example:

if ObjAtLayer(BpackLayer) > 0 then 
  AddToSystemJournal('Backpack ID:' + IntToStr(ObjAtLayer(BpackLayer)));