GetAltName
Returns character “alternative name”. Depends from server it can contains title, guild, profession or anything else, or be empty.
NB: Sometimes you should call ClickOnObject for filling “Name” and “AltName” fields.
Pascal Syntax:
function GetAltName(ObjID : Cardinal) : String;
Pascal Example:
fAltName := GetAltName(Self);
if fAltName = '' then
begin
ClickOnObject(Self);
wait(500);
fAltName := GetAltName(Self);
end;
Python Syntax:
def GetAltName(ObjectID): --> string