GiveNumItems

From NWN Lexicon



Contents

[edit] GiveNumItems(object, string, int)

Gives the target the number of items specified.

void GiveNumItems(
    object oTarget,
    string sItem,
    int nNumItems
);

[edit] Parameters

oTarget

sItem

nNumItems


[edit] Description

Loops through the calling objects inventory and gives up to nNumItems of sItem to oTarget.



[edit] Remarks

Function can be found in nw_i0_plot.nss on line 813.

Function was never used by BioWare in any of the official scripts or include files. Simple behavior though.


[edit] Requirements

#include " nw_i0_plot "

[edit] Version

1.22

[edit] See Also

functions: 

TakeNumItems



 author: John Shuell
 

Personal tools
Categories