SetPortraitId

// Change the portrait of oTarget to use the Portrait Id specified. // - oTarget: the object for which you are changing the portrait. // - nPortraitId: The Id of the new portrait to use. //               nPortraitId refers to a row in the Portraits.2da // Note: Not all portrait Ids are suitable for use with all object types. //      Setting the portrait Id will also cause the portrait ResRef //      to be set to the appropriate portrait ResRef for the Id specified. void SetPortraitId(object oTarget, int nPortraitId)

WARNING: This function is missing from NWN2 and thus any script which is imported that uses this function will fail to compile