GivePersonalItem
From NWN Lexicon
Jump to navigationJump to search
GivePersonalItem(object, object)
Makes the henchman give his or her personal item to the player.
void GivePersonalItem(
object oPC,
object oHench = OBJECT_SELF
);
Parameters
oPC
The PC to receive the item.
oHench
The henchman whose personal item will be given. (Default: OBJECT_SELF)
Description
If oPC doesnât have the personal item of the henchman, it is created on him / her.
Remarks
Found in nw_i0_henchman.nss on line 272
The tag of the personal item must be the tag of the henchman + âPERSâ. The resref must be a lowercase version of this.
Requirements
#include " nw_i0_henchman "
Version
1.28
See Also
| functions: |
author: Lilac Soul, additional contributor(s): Lilac Soul