GetPortraitResRef

// Get the Portrait ResRef of oTarget. // - oTarget: the object for which you are getting the portrait ResRef. // Returns: The Portrait ResRef being used for the object oTarget. //         The Portrait ResRef will not include a trailing size letter. string GetPortraitResRef(object oTarget=OBJECT_SELF)

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