SetPortraitResRef
From NWN Lexicon
Contents |
[edit] SetPortraitResRef(object, string)
Change the portrait of object to use the portrait ResRef.
void SetPortraitResRef( object oTarget object sPortraitResRef );
[edit] Parameters
oTarget
The object for which you are changing the portrait.
sPortraitResRef
The ResRef of the new portrait to use.
[edit] Description
Change the portrait of oTarget to use the Portrait ResRef specified.
[edit] 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.
[edit] Known Bugs
[edit] Version
1.67
[edit] See Also
functions: |
author: Mistress