GetType

Returns property Type for object ObjID

Pascal Syntax:

function GetType(ObjID : Cardinal) : Word;

Pascal Example:

     while((GetType(Self) <> $02EB) and (GetType(Self) <> $02EC)) do begin
       Cast('Wraith Form');
       wait(2000);
     end;

Python Syntax:

def GetType(ObjID): --> ushort