SetPortraitId(object, int)
Change the portrait of oTarget to use nPortraitId.
void SetPortraitId( object oTarget, int nPortraitId );
Parameters
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.
Description
Change the portrait of oTarget to use nPortraitId.
Remarks
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.
Version
1.67
See Also
functions:  | GetPortraitId | GetPortraitResRef | SetPortraitResRef |
categories:  | Get Data from Object Functions |
author: Mistress