SetPortraitResRef(object, string)
Change the portrait of object to use the portrait ResRef.
void SetPortraitResRef( object oTarget object sPortraitResRef );
Parameters
oTarget
The object for which you are changing the portrait.
sPortraitResRef
The ResRef of the new portrait to use.
Description
Change the portrait of oTarget to use the Portrait ResRef specified.
Remarks
sPortraitResRef should not include any trailing size letter ( e.g. po_el_f_09_ ).
Not all portrait ResRefs are suitable for use with all object types.
Setting the portrait ResRef will also cause the portrait Id to be set to PORTRAIT_INVALID.
Known Bugs
Version
1.67
See Also
functions:  | GetPortraitResRef | GetPortraitId | SetPortraitId |
categories: | Get Data from Object Functions |
author: Mistress