ObjectWithIndex
function

Description
Get an object in the object manager.

Arguments
Index The index of the object in the object manager, from 1 and the number of objects in the object manager.

Returns
Object A pointer to the object that can be used as a unit ID for WoW functions, assuming that the object is of a compatible type.