GetLayer
Description:
Returns layer, where object with ID ObjID located (Enumerates all character layers and compare object in this layer with ObjID)
if character disonnected, or object not found - returns 0.
Pascal Syntax:
function GetLayer(ObjID: Cardinal) : Byte;
Pascal Example:
if GetLayer(my_relik_shield_ID') = 0 then
AddToSystemJournal('My mega-shiled not found')
else
AddToSystemJournal('My mega-shiled found!');
Pascal Example 2:
Python Syntax:
def GetLayer(Obj): ubyte