ObjectName
function

Description
Get an object's name.

Arguments
Object A pointer to an object or a unit ID.

Returns
Name The object's name.