Sets a Texture object to show a portrait of a unit. Causes the client to render a view of the unit's model from a standard perspective into a circular 2D image and display it in the given Texture object.
See also Unit functions.
Signature:
SetPortraitTexture(texture, "unit")
Arguments:
texture- A Texture object (table)unit- A unit for which to display a portrait (string, unitID)