API SetPortraitTexture

Sets a texture to a unit's 2D portrait. SetPortraitTexture(textureObject, unitToken)

Arguments

 * textureObject : widget : Texture
 * unitToken : string : UnitId