GivePersonalItem

From NWN Lexicon



Contents

[edit] GivePersonalItem(object, object)

Makes the henchman give his or her personal item to the player.

void GivePersonalItem(
    object oPC,
    object oHench = OBJECT_SELF
);

[edit] Parameters

oPC

The PC to receive the item.

oHench

The henchman whose personal item will be given. (Default: OBJECT_SELF)


[edit] Description

If oPC doesn’t have the personal item of the henchman, it is created on him / her.



[edit] 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.


[edit] Requirements

#include " nw_i0_henchman "

[edit] Version

1.28

[edit] See Also

functions: 

StripAllPersonalItemsFromEveryone



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

Personal tools
Categories