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: StripAllPersonalItemsFromEveryone
categories: Henchmen/Familiars/Summoned Functions


 author: Lilac Soul, additional contributor(s): Lilac Soul